First steps in converting Usermap to use Google Map API v3
Some changes to the files regarding formatting.
All files have got the new header now. There were some lines with a finishing
tab, those tabs are removed now. And the language files seemed to lack a
finishing newline, which has been fixed as well.
foreach-bug fixed
When there are no pins added to the usermap, the you got an invallid argument error, which is fixed now.
Sensor option added
Using GMA v3, it's mandatory to set the sensor paramater, so we did. This is a quote I found on stackoverflow:
"The sensor parameter doesn't give you any geo location capabilities it just lets us know as part of our licensing terms with our data providers that the map is being used in conjunction with some sort of geo location functionality."
Places fixed
Template to add a pin is updated
The template to add a pin is updated, and some extra development progress information is added for later use.
Lookup code has been ported to the new API
Info windows have been converted
Convertion finalized
The conversion to GMA v3 has been completed now. The added pins are now converted as well.
Note that it is my intention to stop offering multiple pinimgs to be selected. I'm not sure if it's much used, but at the end, it is useless unless your img has exactly the same size. Although this could be expanded, I'm not entirely convinced about the need for it. We'll see ...