Map is not created, check your parameters

  • bd5hty
  • Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 11 months ago #4251 by bd5hty
Map is not created, check your parameters

{zhbaidumap:56;Zoom="8";MapType;Width;Height="400"}

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

More
10 years 11 months ago #4255 by Dima
Hi.

Loot at examples

{zhbaidumap:56;8;;;400}

I mean, now there is no support passing values by parameter name, only pass by position.
Values do not entered in quotes.

I get it using separators (semicolon ;)

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.

  • bd5hty
  • Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 11 months ago #4262 by bd5hty
Replied by bd5hty on topic Map is not created, check your parameters
Still tips:“Map is not created, check your parameters”

{zhbaidumap:56;8;23.743193;90.388281;400}

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

More
10 years 11 months ago #4263 by Dima
Hi

I'm sorry, but do you use correct call.

Plugin it is plugin for component, it uses it's data.
Ie
56 - have you got this map, ie map with ID=56
Look at map list, the first column - it is ID
wiki.zhuk.cc/index.php?title=Zh_BaiduMap...ription#Creating_Map

The second
wiki.zhuk.cc/index.php?title=Zh_BaiduMap_Plugin#Show_Map
This is parameter position for plugin call by map ID
Compare my request
{zhbaidumap:MMM;Zoom;MapType;Width;Height}
and your values
{zhbaidumap:56;8;23.743193;90.388281;400}

It means
Map ID = 56
Zoom = 8
Map Type = 23.743193 - ERROR
Width = 90.388281 - ERROR
Height = 400

Plugin call doesn't support passing coordinates (Latitude, longitude)

You design your map in component (in administration: creating maps, placemarks...)
After that you can only show your data - by menu (component call), or in an article - by plugin call.
You enter your location - coordinates, in placemark details

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.

  • bd5hty
  • Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 11 months ago #4264 by bd5hty
Replied by bd5hty on topic Map is not created, check your parameters
I apologize for my stupidity, I understand now, thank you very much for your reply.
But the component API authorization has been wrong, I like to see Baidu official API revised agreement, you confirm that this component can be used?

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

More
10 years 11 months ago #4265 by Dima
Sorry, explain more detail what you ask about.

I use Baidu Maps API
developer.baidu.com/map/jshome.htm

Last my development was on version 1.5

Today I check, the current API version is 2.0

I don't know what changes are in this version, and what is user agreement now. After new year holidays I try to check the difference

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.259 seconds
Powered by Kunena Forum