Can i get the same thing with zhgmap ?

More
5 years 11 months ago #11632 by Dima
Replied by Dima on topic Can i get the same thing with zhgmap ?
By passing country to places API you restrict text address by this country. And user will get addresses and places restricted by it

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.

  • Chabi01
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
5 years 11 months ago #11633 by Chabi01
Replied by Chabi01 on topic Can i get the same thing with zhgmap ?
Dima, i have tried hard... no success...

The fact is : i dont know what to put in the geocoding area to get the limit of the town shown directly.
My city is (with the zipcode) : 01370 Bény
in France...
If i put 01370 Bény and in the country code "FR", i don't have the limit shown.
I misuse the whole thing but i don't know how to set all this...
Sorry if i'm a pain in the a..

Xavier

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

More
5 years 11 months ago #11634 by Dima
Replied by Dima on topic Can i get the same thing with zhgmap ?
Hi.
You can't restrict by town. Only by country.
If you have enabled autocomplete, you can compare results with FR and without it in Country field.
You'll see different results.

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.

  • Chabi01
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
5 years 11 months ago #11661 by Chabi01
Replied by Chabi01 on topic Can i get the same thing with zhgmap ?
Hi Dima,
Just for the record, as i did not succeed, i did this (maybe, this can be usefull for others :)
- I retrieve the full file from here : www.data.gouv.fr/fr/datasets/decoupage-a...u-d-openstreetmap/#_
Then, i have a shp file.
- I import the vector layer in QGIS and select only the approximative zone to use for me
- I export then the selection as kml.
- I use after this the script i wrote to convert the kml coordinate to ZHGooglemap coordinate (the code is still here on the forum on my old posts),
- i create a path in ZHGooglemap and paste the coordinate.
All is fine and i have now my boudaries for my city :)

Have a nice day Dima :)
Xavier

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

More
5 years 11 months ago #11664 by Dima
Replied by Dima on topic Can i get the same thing with zhgmap ?
OK, thanks

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.

  • Chabi01
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
5 years 11 months ago #11665 by Chabi01
Replied by Chabi01 on topic Can i get the same thing with zhgmap ?
Thanks to you Dima ! For your time and your patience with all the men like me asking help !!! :)
Have a nice day Dima :)
Xavier

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

Time to create page: 0.098 seconds

Donate


Go to top