> > do i need to convert projection co-ordinates 900913 to wgs84 4326. > ( latitude, longitude)
Yes. Not sure if mySQL has function to do conversion inside database (PostGIS does), if yes, you can consider convert to WGS before call AsWKT. > is there a build in function in goole maps api to do the conversion or > i have to use Proj4.js No direct method, but just missing one step, you need to map the real "real world" meter to google's "real world" pixels (check the projection section of documentation). It's a simple calculation using sphere radius. You do not need proj4.js unless you need to do a lot of complex projection, which is not the case here. > will that not be an overhead. There is some overhead, but not significant. Should not be a concern. > should i convert to kml and load the polygon overlay . > > thanx. > > any help is really appreciated. -- 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.
