marker centered and infowin open by command?

  • jeffer
  • Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 9 months ago #925 by jeffer
hmmm, it seems that what i want is not that easy to do then.
Ive been looking and puzzling for days now :P

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 :P

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
  • New Member
More
11 years 9 months ago #926 by jeffer
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

Please Log in or Create an account to join the conversation.

More
11 years 9 months ago #937 by Dima

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
{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.

More
11 years 9 months ago #938 by Dima
As for second question.

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.171 seconds

Donate


Go to top