Anyone knows a way to draw areas in a image, based on points, like draw areas in google maps? Dynamically with javascript.
Editing: what I will do is put a map image on the page and draw an area on the top of a house, etc...
Thanks.
views:
83answers:
3This will not work in IE unless you use the Google explorecanvas project http://code.google.com/p/explorercanvas/.
Nissan Fan
2010-05-24 16:19:24
@Nissan: yes, I remember that now. It's part of html5, so I guess IE will support it eventually.
Charles Stewart
2010-05-24 16:31:36
+1
A:
In addition to the JavaScript solution, you could always use PHP to dynamically draw lines. Then place the newly-created image on top of the map image.
Here is a small tutorial: Drawing shapes with GD
Dominique
2010-06-15 03:03:03