Is there anyway in Google Maps through which I can know whether
the polygon created is convex ?
No, but you can write code to use well-known algorithms
http://www.google.com/search?q=algorithm+to+test+convex+polygon
If it is a convex polygon how can I
know whether a point is within the
Hi guys,
just wondering if anyone can shed some light on how the inner of a
polygon on a spherical surface (eg: a map of the world) is selected.
Is it the smaller area or ? If it's the smaller area, how is this
determined?
Reason I would like to know is to flesh out the
polygon.contains(point)
Hi Joel,
I don't know what you refer to by polygon.contains(point). Can you
clarify?
If you refer to rendering a polygon's fill, and detecting when mouse/touch
events hit the interior of a polygon, we use the following 2 rules:
1. Sequential vertices in a polyline or polygon path are
http://econym.googlepages.com/example_egeotestmon.htm
(using egeoxml.js)
http://econym.googlepages.com/egeoxml.htm
Mapperz
http://mapperz.blogspot.com/
On Dec 5, 7:39 am, Martijn van der Plaat [EMAIL PROTECTED]
wrote:
Hi,
I changed to false so my script is synchroon : request.open(GET,
Hi experts,
I try to directly check in a map of a certain point is in a polygon.
see: http://profec.nl/profec/gmaps/index1.php
first lookup my code.
The problem is that, as you can see in the first popup, javascript
thinks polys.length() is 0, but in reality polys.length() is 2, as you
can see
On Dec 4, 10:30 am, Martijn van der Plaat [EMAIL PROTECTED]
wrote:
Hi experts,
I try to directly check in a map of a certain point is in a polygon.
see:http://profec.nl/profec/gmaps/index1.php
first lookup my code.
The problem is that, as you can see in the first popup, javascript
thinks
Hi,
I changed to false so my script is synchroon : request.open(GET,
states2.xml, false);
The next problem is that In firefox the polygons won't show up. see my
page:
http://profec.nl/profec/gmaps/index1.php
In IE everything still works fine! How strange is that!
Can anybody help?
Greets