Groups
Groups
Sign in
Groups
Groups
[deprecated] Google Maps JavaScript API v3. Please use the latest post.
Conversations
About
Send feedback
Help
google.maps.geometry.poly.isLocationOnEdge
716 views
Skip to first unread message
Fadamaps trente-sept
unread,
Apr 27, 2012, 8:17:44 AM
4/27/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-map...@googlegroups.com
Hi,
in the referecence about google.maps.geometry.poly.isLocationOnEdge
https://developers.google.com/maps/documentation/javascript/reference#poly
what is the unit used to 'tolerance' (what type of number : meter, mile, pixel, %) ?
Thank
Fadamaps trente-sept
unread,
Apr 29, 2012, 10:34:27 AM
4/29/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-map...@googlegroups.com
Some examples with 'tolerance' :
Computes whether the given point lies on the edge of a polygon, within a specified tolerance.
Computes whether the given point lies on or near to a polyline, within a specified tolerance.
Computes whether the given point lies inside the specified polygon.
In these examples I set var tolerance = 0.006; but i don't know what is the unit of tolerance ...
Enoch Lau (Google Employee)
unread,
Apr 29, 2012, 10:06:33 PM
4/29/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-map...@googlegroups.com
The unit of tolerance is in degrees. I'll file a bug internally to get the documentation updated - thanks.
Fadamaps trente-sept
unread,
May 1, 2012, 2:26:52 AM
5/1/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-map...@googlegroups.com
Ok, thanks !
Reply all
Reply to author
Forward
0 new messages