CMS MADE SIMPLE FORGE

GoogleMaps

 

[#7715] Markers don't center on map

avatar
Created By: Wiebren Bremer (wpbremer)
Date Submitted: Mon Mar 19 09:17:52 -0400 2012

Assigned To: Duketown (duketown)
Version: Version 0.2.0
CMSMS Version: 1.10.3
Severity: Minor
Resolution: None
State: Open
Summary:
Markers don't center on map
Detailed Description:
I have made some markers and these marker are al assigned to 1 map.

On my website I call these markers with this code:
{cms_module module='GoogleMaps' map='Signeerbestemmingen'
marker=$event.fields.Waar language='nl_NL'}

In the earlier version the called marker showed up centred on the map, but now
the maps centre is the default centre of the map.

Also new Markers which I make don't show up in the list of existing markers.

And the last bug is that the latitude and longitude you get on top of the module
after you search for an address are gone after a switch of tabs.


History

Comments
avatar
Date: 2012-03-26 10:04
Posted By: oxspray (oxspray)

I confirm this issue.
If you look at the marker map preview from the admin interface (marker instance
settings), the point position is correctly placed. It is no more the case from
the front end interface where the marker is slightly shifted to the south. Of
course this imprecision increases with lower zoom levels.
      
avatar
Date: 2012-08-06 15:51
Posted By: Duketown  (duketown)

I see new markers showing up, so works for me. Be sure they have extension .png.

Radical change with regards to address lookup done in version 0.2.1.

Variable marker is not in use in the programs, so I don't have an idea what
'marker=$event.fields.Waar' should do.

Nothing was changed with regards to centering, must be part of version 3.0 of
GoogleMaps.
Severity changed to minor.
      
avatar
Date: 2012-09-05 15:24
Posted By: Wiebren Bremer (wpbremer)

Hi Duketown,

thanks for updating the module.

Till version 0.2.0 I think I could show a marker centered on a map in a
CGCalendar event.

I could manage that with this code {cms_module module='GoogleMaps'
map='Signeerbestemmingen' marker=$event.fields.Waar language='nl_NL'}

It gets the map "Signeerbestemming" and it centers the marker which I defined in
my Calendar event in the field "Waar".

For example I have an event in Breda and had made a marker of this place on the
map Signeerbestemming. I also put this name of the city in CGCalendar in the
custom field "Waar".

When I click on the event on my webpage I got al the data of this event plus a
map (Signeerbestemming) where the marker Breda was centerd. Trough the code
$event.fields.Waar I got in every event the right city centerd on the map.

I can see what is changed but the variable "Marker" isn't working anymore.

Thanks in advance for looking in to my problem.
      
Updates

Updated: 2012-08-06 15:51
resolution_id: => 5
severity_id: 2 => 3