Saturday, May 25, 2013

[Google Maps API v2] hexagon polygen cordinates

Hi everyone,

I would like to get the coordinates of hexagon polygen using php goole api.
for e.g.

defaultMaxDistance = '20';
latitude = '51.5738';
longitude = '-1.7493';

My center poing lang and lat is as above and get the hexagon polygen upon distance(5,10,20) miles from cetner point.

i want response as below

"pointList":[{"latitude":51.68344472779638,"longitude":-0.016695501923419565},{"latitude":51.52243349869591,"longitude":0.22738550677605984},{"latitude":51.30111585830215,"longitude":0.2166518015117904},{"latitude":51.14905154024858,"longitude":-0.039695967859362045},{"latitude":51.154422724489116,"longitude":-0.3917084389638032},{"latitude":51.31415497188573,"longitude":-0.6360564428016455},{"latitude":51.53557569903904,"longitude":-0.629447684041311},{"latitude":51.68891900819581,"longitude":-0.3728332737845724},{"latitude":51.68344472779638,"longitude":-0.016695501923419565}]

Please help on this.

Thanks
Raju

--
You received this message because you are subscribed to the Google Groups "Google Maps API V2" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-maps-api+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate