Placemark ordering

  • asterix9
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 1 month ago #6453 by asterix9
Replied by asterix9 on topic Placemark ordering
By 4 reload this page.
Attachments:

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

More
9 years 1 month ago - 9 years 1 month ago #6454 by Dima
Replied by Dima on topic Placemark ordering
Hi

Are you kidding me, or what?

Look at forum.zhuk.cc/index.php/gm-component/372...ng?limitstart=0#6320

I posted you. You defined your placemarks by TEXT ADDRESS.
In this case I use geocoder to get it position in latitude/longitude coordinates. It is asynchronous process, and it's results not returned in order to call.
Ie if I call "get me coordinates for text address" for placemarks 1,2,3,4 there is no guarantee that geocoder return me results in this order (1,2,3,4). It can return in any order.

And I told you (and gave link to my docs) what you have to do.

Don't forget support my developments: post review in JED , donate , help with translation ;)
Last edit: 9 years 1 month ago by Dima.

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

More
9 years 1 month ago #6455 by Dima
Replied by Dima on topic Placemark ordering
For example placemark "Zentrale Nordamerika" defined by text address. And "Zentrale Österreich", "Zentrale Schweiz", "Zentrale Frankreich"...

Check your placemarks.

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.

  • asterix9
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 1 month ago - 9 years 1 month ago #6456 by asterix9
Replied by asterix9 on topic Placemark ordering
Sorry!!!!

In the map ist the config by Custom ordering. and which are placemark sorted correctly.

why change it when reload ?????

asterix9 wrote: This ist my config.

Screen ist an page 2.

Although I have tried other settings but you do not get the results I need.
Last edit: 9 years 1 month ago by asterix9.

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

More
9 years 1 month ago - 9 years 1 month ago #6457 by Dima
Replied by Dima on topic Placemark ordering
In admin panel (in grid) you can see correct order because you just see config of your data, without its displaying.

When you show the map with placemarks, I get it with this order.
After that I need to get it's real position by text address. In this case I need use geocoder.

I pass text address to it. Geocoder do REQUEST to server to get position (latitude, longitude). After it get answer for that, it returns its status and answer data.
This answer will be get by different time - it depends on different cases (network, server busy, cache and so on).

And when you reload your page, the geocoder again requests data for text addresses, and the time of answers can be different, therefore it comes back with different time. Therefore after reload the order in placemark list can be different.

I suggest change your placemarks to have latitude and longitude in its definition.
In this case the geocoder will not use, and placemarks created in order you define it.

Don't forget support my developments: post review in JED , donate , help with translation ;)
Last edit: 9 years 1 month ago by Dima.

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

  • asterix9
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 1 month ago #6458 by asterix9
Replied by asterix9 on topic Placemark ordering
Ok. that is logical and you can understand that.
Perhaps it is helpful in the backend to provide information for this geocoder here.

I have this now inserted. and it works. many many thanks.

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

Time to create page: 0.083 seconds

Donate


Go to top