yahayadeveloper / php-google-map-api

Automatically exported from code.google.com/p/php-google-map-api
0 stars 0 forks source link

Opened descriptions defined upon creation and map to image output #91

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I have a few requests that I don't think would take much to add into this 
project.

1. Be able to tell a marker have the description open upon make generation. I 
believe that only one can be open at a time. So if all markers are set to be 
open just open the first marker that is added to the map. The best way I could 
see this implemented on the code side would be something like:
"$MAP_OBJECT->addMarkerByAddress("Denver, CO","Marker Title", "Marker 
Description", "open");"
Where "open" defines wether or not the description dialog is open or not and by 
default is set to "closed"

2. Be able to render the map as a static image. I do not believe this is a 
current feature, but it would be great if it was an option for the output. This 
would help for when you want to generate a preview map that a user doesn't 
really need to interact with. For the code part, something like:
"$MAP_OBJECT->makeMapImage($width, $height);"
Alternatively, this could be used in the same way that "printMap()" is used and 
not have height or width options because those could be pulled from  
"setWidth()" and "setHeight()"

3. Last, but not least, I would love to see some updated documentation with 
more/better examples of what can be done and how it can be accomplished.

Hope to possibly see some of these features added in the future

Original issue reported on code.google.com by buc...@gmail.com on 23 Feb 2013 at 1:36