Google's Static Maps API V2 offers a lot of customization options.

These options should be configurable for the Static Google Map formater.

CommentFileSizeAuthor
#4 geolocation.patch4.69 KBmcaden
#1 1038394.patch5.67 KBderjochenmeyer

Comments

derjochenmeyer’s picture

Status: Needs review » Active
StatusFileSize
new5.67 KB

Here is a start. This patch makes the following available for easy configuration under the formater display settings: Map dimensions (WIDTHxHEIGHT), Image Format (png8, png32, gif, jpeg), Zoom Level (1-19), Map Type (roadmap, satelite, terrain, hybrid).

More to come at your request.

derjochenmeyer’s picture

Status: Active » Needs review
derjochenmeyer’s picture

Above patch committed to dev.

http://drupal.org/cvs?commit=488310

mcaden’s picture

Status: Active » Needs review
StatusFileSize
new4.69 KB

I took this a little farther and allowed the display of the address with configuration options.

derjochenmeyer’s picture

Title: Add configuration options for Static Google Maps formater » Add configuration options for Static Google Maps formater leveraging Google's Static Maps API V2

Hi Aaron, thanks for your patch. We need to open a new issue for this functionality. This issue ONLY deals with "Add configuration options for Static Google Maps formater" (leveraging Static Maps API V2)

Your patch does a whole lot more than just configuring something. It adds the logic to store address data along with lat, lng values.

I opened a new issue here:
#1040640: Store and display geocoded address information AND/OR address data entered by users

Please re-post your patch in the new issue, we will discuss the implementation there.

mcaden’s picture

Sounds good.

andypost’s picture

Also this should add ability to set/reset zoom and probably to store (other issue)

jm.federico’s picture

Status: Needs review » Closed (won't fix)

I'm marking this as won't fix since the original patch was committed already!

New patches should go to new issues.