- Posts: 11
- Thank you received: 0
Map Not Centering After J2.5 -> 3.4
- rossm
- Topic Author
- Offline
- New Member
Less
More
9 years 8 months ago #6333
by rossm
Map Not Centering After J2.5 -> 3.4 was created by rossm
Hi,
I have successfully been using the plugin option to display maps that center on various placemarks following the code below:
{zhgooglemap-marker:016;placement;14;SATELLITE;670;300;do not change}
I just upgraded Joomla from 2.5 to 3.4. I also upgraded zhMaps/ module/ plugin to the most recent version and confirmed that everything was installed corectly. All of my data is there, however the maps which used to load with the placemark in the center are now all loading to the same default map view (I think this is my default map location). The center of the map is not the placemark. I have tried to change component settings but nothing I have tried is working.
Do you have any ideas why the code below might not be working?
{zhgooglemap-marker:016;placement;14;SATELLITE;670;300;do not change}
Thanks!
I have successfully been using the plugin option to display maps that center on various placemarks following the code below:
{zhgooglemap-marker:016;placement;14;SATELLITE;670;300;do not change}
I just upgraded Joomla from 2.5 to 3.4. I also upgraded zhMaps/ module/ plugin to the most recent version and confirmed that everything was installed corectly. All of my data is there, however the maps which used to load with the placemark in the center are now all loading to the same default map view (I think this is my default map location). The center of the map is not the placemark. I have tried to change component settings but nothing I have tried is working.
Do you have any ideas why the code below might not be working?
{zhgooglemap-marker:016;placement;14;SATELLITE;670;300;do not change}
Thanks!
Please Log in or Create an account to join the conversation.
- Dima
- Offline
- Platinum Member
9 years 8 months ago #6335
by Dima
Don't forget support my developments: post review in JED , donate , help with translation
Replied by Dima on topic Map Not Centering After J2.5 -> 3.4
Hi
You write wrong parameter value:
Center - map center or placemark is new center of map, valid values:
map
placemark
And you wrote placement
You write wrong parameter value:
Center - map center or placemark is new center of map, valid values:
map
placemark
And you wrote placement
Don't forget support my developments: post review in JED , donate , help with translation
Please Log in or Create an account to join the conversation.
- rossm
- Topic Author
- Offline
- New Member
Less
More
- Posts: 11
- Thank you received: 0
9 years 8 months ago #6336
by rossm
Replied by rossm on topic Map Not Centering After J2.5 -> 3.4
Hi Dima,
Sorry... this was a copy and paste error. Here is the code I am using:
{zhgooglemap-marker:016;placemark;14;SATELLITE;670;300;do not change}
If I try the following I can get the map centered OK but I don't get the desired result (map pin) and it gives me the following "JavaScrip Error: marker016 is not defined"
{zhgooglemap-marker:016;placemark;14;SATELLITE;670;300;click}
Any ideas? I have not changed anything regarding the data that was in zh GoogleMap.
Thanks!
Sorry... this was a copy and paste error. Here is the code I am using:
{zhgooglemap-marker:016;placemark;14;SATELLITE;670;300;do not change}
If I try the following I can get the map centered OK but I don't get the desired result (map pin) and it gives me the following "JavaScrip Error: marker016 is not defined"
{zhgooglemap-marker:016;placemark;14;SATELLITE;670;300;click}
Any ideas? I have not changed anything regarding the data that was in zh GoogleMap.
Thanks!
Please Log in or Create an account to join the conversation.
- Dima
- Offline
- Platinum Member
9 years 8 months ago #6337
by Dima
Don't forget support my developments: post review in JED , donate , help with translation
Replied by Dima on topic Map Not Centering After J2.5 -> 3.4
Use pure I'd. Without 0
Don't forget support my developments: post review in JED , donate , help with translation
Please Log in or Create an account to join the conversation.
- rossm
- Topic Author
- Offline
- New Member
Less
More
- Posts: 11
- Thank you received: 0
9 years 8 months ago #6338
by rossm
Replied by rossm on topic Map Not Centering After J2.5 -> 3.4
Hi Dima,
Closer
Using the pure ID the following Action parameters will center the map on the placement using the following code:
{zhgooglemap-marker:16;placemark;14;SATELLITE;670;300;action}
click
bounce
However, the action "do not change" will not center the map in the placemark.
Any other ideas? If "click" and "bounce" work then can we safely assume nothing was corrupted in the 2.5 -> 3.4 upgrade?
Closer
Using the pure ID the following Action parameters will center the map on the placement using the following code:
{zhgooglemap-marker:16;placemark;14;SATELLITE;670;300;action}
click
bounce
However, the action "do not change" will not center the map in the placemark.
Any other ideas? If "click" and "bounce" work then can we safely assume nothing was corrupted in the 2.5 -> 3.4 upgrade?
Please Log in or Create an account to join the conversation.
- rossm
- Topic Author
- Offline
- New Member
Less
More
- Posts: 11
- Thank you received: 0
9 years 8 months ago #6339
by rossm
Replied by rossm on topic Map Not Centering After J2.5 -> 3.4
Hi Dima,
Well I have a patch/ fix that is working for me.
If I use the pure ID and the action "icon_name_without_extension" everything displays as expected.
{zhgooglemap-marker:2;placemark;14;SATELLITE;670;300;00default#}
Thanks for your support. I hope this thread helps others.
Best!
Well I have a patch/ fix that is working for me.
If I use the pure ID and the action "icon_name_without_extension" everything displays as expected.
{zhgooglemap-marker:2;placemark;14;SATELLITE;670;300;00default#}
Thanks for your support. I hope this thread helps others.
Best!
Please Log in or Create an account to join the conversation.
Time to create page: 0.202 seconds