- Posts: 4
- Thank you received: 0
marker centered and infowin open by command?
- jeffer
- Topic Author
- Offline
- New Member
Less
More
12 years 4 months ago #925
by jeffer
Replied by jeffer on topic Re: marker centered and infowin open by command?
hmmm, it seems that what i want is not that easy to do then.
Ive been looking and puzzling for days now
Ok, lets ask something complete different then.
In you documentation there is this example.
{zhgooglemap-marker:NNN;Center;Zoom;MapType;Width;Height;Action}
When i use this, i never get what i really want.
Say i want to show marker 1 on a 200x200px map.
i end up with this, and if i change anything in it it will not show up.
{zhgooglemap-marker:1;0;14;15;198;198;do not change}
after marker 1 there is a zero.
if i remove that the map will not show up 200 pixels anymore
therefore i am unable to create a map at the moment with all markers enabled but centered on id:1
bit.ly/LS18fV
sorry to jump from one end to another...just finding out this will never work like i hope to
Ive been looking and puzzling for days now
Ok, lets ask something complete different then.
In you documentation there is this example.
{zhgooglemap-marker:NNN;Center;Zoom;MapType;Width;Height;Action}
When i use this, i never get what i really want.
Say i want to show marker 1 on a 200x200px map.
i end up with this, and if i change anything in it it will not show up.
{zhgooglemap-marker:1;0;14;15;198;198;do not change}
after marker 1 there is a zero.
if i remove that the map will not show up 200 pixels anymore
therefore i am unable to create a map at the moment with all markers enabled but centered on id:1
bit.ly/LS18fV
sorry to jump from one end to another...just finding out this will never work like i hope to
Please Log in or Create an account to join the conversation.
- jeffer
- Topic Author
- Offline
- New Member
Less
More
- Posts: 4
- Thank you received: 0
12 years 4 months ago #926
by jeffer
Replied by jeffer on topic Re: marker centered and infowin open by command?
lets say i want to create a link to a map (no lightbox) just a normal page.
is it possible then to create a link to that map where it centers on this company i want?
cheers
is it possible then to create a link to that map where it centers on this company i want?
cheers
Please Log in or Create an account to join the conversation.
- Dima
- Offline
- Platinum Member
12 years 4 months ago #937
by Dima
Your call is wrong
See docs
zhuk.cc/wiki/index.php/Zh_GoogleMap_Plug...how_Map_by_Placemark
Valid values for center is: map or placemark
Valid values for map type: ROADMAP, SATELLITE, HYBRID, TERRAIN, OSM, NZTOPOMAPS, do not change
Then your call should to be like
Don't forget support my developments: post review in JED , donate , help with translation
Replied by Dima on topic Re: marker centered and infowin open by command?
When i use this, i never get what i really want.
Say i want to show marker 1 on a 200x200px map.
i end up with this, and if i change anything in it it will not show up.
{zhgooglemap-marker:1;0;14;15;198;198;do not change}
Your call is wrong
See docs
zhuk.cc/wiki/index.php/Zh_GoogleMap_Plug...how_Map_by_Placemark
Valid values for center is: map or placemark
Valid values for map type: ROADMAP, SATELLITE, HYBRID, TERRAIN, OSM, NZTOPOMAPS, do not change
Then your call should to be like
Code:
{zhgooglemap-marker:1;placemark;14;do not change;200;200;do not change}
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.
- Dima
- Offline
- Platinum Member
12 years 4 months ago #938
by Dima
Don't forget support my developments: post review in JED , donate , help with translation
Replied by Dima on topic Re: marker centered and infowin open by command?
As for second question.
Yes. You can create page for definite placemark. For example, you don't need create map for each placemark.
You can create map. Create placemarks for your companies.
After that create menu item. Create an article, include plugin call into your article for definite placemark (as I explained, and centering by this placemark). And associate your menu with this article. After that you can link to this map.
Moreover, because it is article, you can enter any other text for this company.
Or try link to call direct to your article.
lets say i want to create a link to a map (no lightbox) just a normal page.
is it possible then to create a link to that map where it centers on this company i want?
Yes. You can create page for definite placemark. For example, you don't need create map for each placemark.
You can create map. Create placemarks for your companies.
After that create menu item. Create an article, include plugin call into your article for definite placemark (as I explained, and centering by this placemark). And associate your menu with this article. After that you can link to this map.
Moreover, because it is article, you can enter any other text for this company.
Or try link to call direct to your article.
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.
Time to create page: 0.175 seconds