Hi Lema, Farshad and friends
Sorry i'm very late answer.
Lema, i am coding for GIS Professional Programs.
You know, a GIS concept is work very much vectoral shapes. If you are eating your server memory that is very wrong technic for your many users.
I found a methot that Farshad know, and i will share a sample project at my free time.
Shortly, I used JSON file and my server work like WMS (Web Mapping Server).
Your server create a JSON text file that contain your data with properties (id, color, opacity etc...) and client load this file..
Google Map Api V.3 is support json file with same server..
//we can add this code our html
map.data.loadGeoJson('files/sample.json'); //html code.
google sample
Thanks everybody..