{"id":389,"date":"2006-12-28T10:49:12","date_gmt":"2006-12-28T09:49:12","guid":{"rendered":"http:\/\/wp.devco.net\/?p=389"},"modified":"2009-10-09T14:15:07","modified_gmt":"2009-10-09T13:15:07","slug":"gmaps_php_version_17","status":"publish","type":"post","link":"https:\/\/www.devco.net\/archives\/2006\/12\/28\/gmaps_php_version_17.php","title":{"rendered":"GMaps PHP version 1.7"},"content":{"rendered":"

After my recent release of version 1.6<\/a> 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.
\nFirst a sample:
\n

<\/center>
\nYou 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.
\nTo activate this feature there is now a special type<\/i> called none<\/b>, 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.
\nAs 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.
\nThis 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.
\nVersion 1.7 is available at
http:\/\/www.devco.net\/code\/gmapsphp-current.tgz<\/a> as always and the docs at http:\/\/www.devco.net\/pubwiki\/GMapsPHP<\/a> have been updated.<\/p>\n","protected":false},"excerpt":{"rendered":"

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 […]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","footnotes":""},"categories":[7],"tags":[121,57,42],"_links":{"self":[{"href":"https:\/\/www.devco.net\/wp-json\/wp\/v2\/posts\/389"}],"collection":[{"href":"https:\/\/www.devco.net\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devco.net\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devco.net\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devco.net\/wp-json\/wp\/v2\/comments?post=389"}],"version-history":[{"count":1,"href":"https:\/\/www.devco.net\/wp-json\/wp\/v2\/posts\/389\/revisions"}],"predecessor-version":[{"id":567,"href":"https:\/\/www.devco.net\/wp-json\/wp\/v2\/posts\/389\/revisions\/567"}],"wp:attachment":[{"href":"https:\/\/www.devco.net\/wp-json\/wp\/v2\/media?parent=389"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devco.net\/wp-json\/wp\/v2\/categories?post=389"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devco.net\/wp-json\/wp\/v2\/tags?post=389"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}