Hi,
I am developing an app using the Google Maps component and I need help how to set borders to the map, what I mean is the user can move only inside a given area for example in a country in the Google Maps.
Thanks
Hi,
I am developing an app using the Google Maps component and I need help how to set borders to the map, what I mean is the user can move only inside a given area for example in a country in the Google Maps.
Thanks
Use Polygon with LatMax, LatMin, LngMax, LngMin. Set bounding box also.
Doesn’t work for me. Did I set it properly?
@skulteti_balazs…
No you didn’t. If I’m getting your point correctly you then you might wanting a box shape inside your map for a desired area and it should not be draggable…
Am I correct?
then look at it.
Result:
Only zoom enabled, not dragging.
Not exactly, I’d like to have a polygon like this and the inside of the polygon can be draggable but the outside of this polygon shouldn’t be draggable.
I mean, in this city (KecskemĂ©t) you can rotate, scroll and zoom, but outside this city (outside the polĂgon) you can’t rotate, scroll and zoom.
It is possible?
No…it’s not possible in Kodular as far as I know.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.