Can i get the same thing with zhgmap ?

  • Chabi01
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
6 years 6 months ago #11626 by Chabi01
Hi Dima, Hi everybody :)

When i go on Googlemap and search for a town, i get the limit of the town (shown in the image).

Is there a way in zhgmap to have the limit shown in the same way or do i have to make it manually with a path ?
Thanks :)
Xavier
Attachments:

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

More
6 years 6 months ago #11627 by Dima
Replied by Dima on topic Can i get the same thing with zhgmap ?
Hi Xavier
If you use Find by Geocoding feature (with or without autocomplete feature) - yes.

For geocoding you can set "Search Region"
- it is in map details->map controls->Map Find Control(by geocoding)

If you enable autocomplete feature for this Find control - you can restrict by country
- it is in map details->Places Library->Search country

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
6 years 6 months ago #11628 by Chabi01
Replied by Chabi01 on topic Can i get the same thing with zhgmap ?
Thanks Dima :)
I give a try and come back...
Thanks :)
Xavier

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

  • Chabi01
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
6 years 6 months ago #11629 by Chabi01
Replied by Chabi01 on topic Can i get the same thing with zhgmap ?
Hi, i'm back :)

Ok, i make some test... and did not achieve what i want.
I would like to get directly on my map the same view given by Googlemap.
If i set up a map, i give lat/long to have the point.
If i activate geocoding, i have a search zone above the map (not working by the way, something wrong on this on my side) but not the same thing with the frontier shown.

If you want to take a look, it's here (dev site) : dev2018.mairie-beny.fr/index.php/vivre-a...oire/1-carte-de-beny

Thanks for your time Dima :)
Xavier

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

More
6 years 6 months ago - 6 years 6 months ago #11630 by Dima
Replied by Dima on topic Can i get the same thing with zhgmap ?
You got error due to you didn't have Google Maps API Key
Get it, enter into component options.

As for current page - add autocomplete feature - it will be more easy to enter what you search
wiki.zhuk.cc/index.php/Zh_GoogleMap_FAQ#...h_Autocomplete_field

And define search country code

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

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

  • Chabi01
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
6 years 6 months ago #11631 by Chabi01
Replied by Chabi01 on topic Can i get the same thing with zhgmap ?
Ok Dima, but with this, will i get the map already with the limit shown when the map is loaded in the page or the person will have to "search" for the address ?

By the way, the country code is FR, right ?
Thanks :)
Xavier

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

Time to create page: 0.189 seconds
Powered by Kunena Forum