-
Zh GoogleMap
-
Component
-
Can i get the same thing with zhgmap ?
Can i get the same thing with zhgmap ?
Less
More
-
Posts: 4609
-
Thank you received: 460
-
-
-
-
-
5 years 11 months ago #11632
by Dima
By passing country to places API you restrict text address by this country. And user will get addresses and places restricted by it
Please Log in or Create an account to join the conversation.
-
Chabi01
-
Topic Author
-
Offline
-
Premium Member
-
Less
More
-
Posts: 131
-
Thank you received: 0
-
-
5 years 11 months ago #11633
by Chabi01
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.
Less
More
-
Posts: 4609
-
Thank you received: 460
-
-
-
-
-
5 years 11 months ago #11634
by Dima
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.
Please Log in or Create an account to join the conversation.
-
Chabi01
-
Topic Author
-
Offline
-
Premium Member
-
Less
More
-
Posts: 131
-
Thank you received: 0
-
-
5 years 11 months ago #11661
by Chabi01
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.
Less
More
-
Posts: 4609
-
Thank you received: 460
-
-
-
-
-
-
Chabi01
-
Topic Author
-
Offline
-
Premium Member
-
Less
More
-
Posts: 131
-
Thank you received: 0
-
-
5 years 11 months ago #11665
by Chabi01
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.
-
Zh GoogleMap
-
Component
-
Can i get the same thing with zhgmap ?
Time to create page: 0.098 seconds