Select Page
NOTE: This is a static archive of an old blog, no interactions like search or categories are current.

After my recent release of version 1.6 I realized you wouldn’t always want to have a clickable point at every line point so version 1.7 introduces a fix for this.
First a sample:


You can see there are few points and the line just gets drawn through points that aren’t clickable. This is a much more practical approach to it since with version 1.6 you’d have had 2000 clickable markers on that map, not good.
To activate this feature there is now a special type called none, if you specify this as the type for a point it won’t get a marker, no comments, not clickable etc. You can also therefore not define your own types using the word none since they just won’t work.
As a side note, the image you see above is from a map with very close to 2000 points on it, the map works on my iMac with 1GB RAM but I’ve seen it fail on other smaller machines, it seems the problem is related to the time the javascript takes to run so the browsers kill the javascript. This is the first time I came across limitation in this so all I can say is if you intend to make huge maps, test it on smaller machines as well.
This version also fixes a small error in the HTML that my code produce, this didn’t break anything but it’s best to stick to what GMap EZ expect.
Version 1.7 is available at http://www.devco.net/code/gmapsphp-current.tgz as always and the docs at http://www.devco.net/pubwiki/GMapsPHP have been updated.