On Nov 5, 1:30 pm, "[email protected]" <[email protected]> wrote: > I know this is possible and in th etutuorials just wondered if anybody > had tried anything similar and how they got on or any possible probles > in doing so, we already have all the policital boundries and can > convert the data to any required values
The usual answer to this sort of polygon display is custom tiles. John Coryat has demonstrated this: http://www. usnaviguide.com/ws-2008-02/presentation.pdf Search Google for "coryat youtube google custom maps" for the video. If you are only interested in one constituency at a time, then something like my parish map might be the answer where a server script sends details of an encoded polygon for display. Polygons are not recommended where large numbers are involved though. See http://www.acleach.me.uk/acny/search.htm -- enter a location in the box and then you can click the map or drag the location marker. An ambiguous search like "Cowley UK" is also catered for. Clicking the location marker gives a url which will recreate the displayed map. The boundary data is held as an ordered set of coordinates and the server calculates which parish contains the click/dropped marker, retrieves its boundary points and calculates the encoding on-the-fly. Performance is good, and a properly spatially-enabled database would be even faster. Encoded polygons can cope with multi-area shapes, which may not be a problem where constituency boundaries are concerned. http://www.acleach.me.uk/acny/search.htm?=51.7494,-1.7724,13,51.7596,-1.7793 -- You received this message because you are subscribed to the Google Groups "Google Maps API V2" 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-api?hl=en.
