http://code.google.com/apis/maps/documentation/javascript/maptypes.html#CustomMapTypes

Martin.

On 18 Oct, 14:14, john <[email protected]> wrote:
> I have polygons that has huge number of points. One of the polygon was
> over 300,000 points originally. It is still huge after we smoothed it.
>
> In v2, I uses FromEncoded(). The performance is bad but at least it
> shows on the map. I understand that the polygon drawing is improved in
> v3. But with some many points, I don't feel it will do too much.
>
> I think the best solution is to use tiles. Even there are lots of
> tiles at deep levels. But most will be blank. Following is what's in
> my mind.
>
> Create database table with key on (zoom, x, y) and an image column
> store the images (or a reference to a image file).
>
> for each tile in my country (zoom, x, y) // how to get the coords?
> {
>     for each (polygon that intersects the tile)
>         draw the polygon on the tile.
>
>     save the tile and remember it is database.
>
> }
>
> When request for (zoom, x, y), I simply search the database, return
> the image if finds one.
>
> The idea is simple and I believe it can be done. My questions are:
>
> Is there any service/tool that can do what I described. I see tile
> cutting tools but all take an image as input which will lost details
> when doom in.Also, I don't want all those blank images.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to