Opened 11 years ago

Last modified 11 years ago

#7628 assigned enhancement

Why not use the same macro syntax of GoogleStaticMap

Reported by: jrovegno Owned by: Martin Scharrer
Priority: normal Component: GoogleMapMacro
Severity: normal Keywords:
Cc: Trac Release: 0.11


Hi martin_s: I'm probing GoogleMapMacro plugin and some features are missing. I'm gonna create an issue about that.

But the current issue is like a wish list:

  1. Change the GoogleMapMacro syntax to the same macro syntax of GoogleStaticMapMacro, It would be nice only have to change GoogleMap for GoogleStaticMap and vice versa, and have the best of the both worlds :P
  2. Enable the same wiki processor syntax of GoogleStaticMapMacro on GoogleMapMacro, I love this feature, is clear and simple.

I'm planning to make in the future on TracGoogleMapTicket can be enable use syntax like this:


to create dynamics maps on the wiki, reports and descriptions. What do you think about this?

Regards Javier

Attachments (0)

Change History (3)

comment:1 Changed 11 years ago by Martin Scharrer

Status: newassigned

The reason why this two macros have a different syntax is because they both depend on the underlying syntax of the Google APIs. GoogleStaticMapMacro only builds a image URL out of the given values. The wiki processor syntax is also very new, so I didn't had time to implement it in the other macro.

To 1.
But you are right, both macros should accept the same syntax for be more user friendly. Also the GoogleMapMacro could have a static switch to only create a static map. This would render GoogleStaticMapMacro unnecessary or call for an integration of both.

To 2.
The wiki processor syntax is easy enough and I will go and implement it in GoogleMapMacro soon.

comment:2 Changed 11 years ago by Martin Scharrer

  1. is now implemented: [8649].

comment:3 in reply to:  2 Changed 11 years ago by jrovegno

Replying to martin_s:

  1. is now implemented: [8649].

I have tested:

address="Providencia Santiago Chile"
markers=center;A;ticket:1|"Av. Manuel Montt";B

And It works OK. Thanks

Modify Ticket

Change Properties
Set your email in Preferences
as assigned The owner will remain Martin Scharrer.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.