Platform
Learn
Community
Support
Sign up
or
Log in
Profile
messages
Messages
logout
Logout
Platform
Home
Downloads
IPP
Licensing
Project Sizing
Beta
Learn
Training
Documentation
Evaluation Guide
Community
Jobs
Home
Forums
Forge
Ideas
Badges
Members
Support
Partner Guide
Resources Library
Opportunities
Account Management
Pre Sales Demos
Sign up
or
Log in
Home
Jobs
Forums
Forge
Ideas
Members
Badges
Dear ,
What would improve your OutSystems Community experience? Let us know by taking this 2-minute survey.
Pick up the survey
Community
›
Forums
›
Forge Discussions
[Google Maps] zoom level
New Post
New Post
Forge Component
Google Maps
(25)
Published on 2018-10-18 by Labs
25 votes
Published on 2018-10-18 by Labs
Bruno Unknown
Posted on 2016-04-20
Bruno Unknown
Rank: #38488
Posted on 2016-04-20
Hi guys
the zoom does not work
I had to comment on the code (
//gMap.fitBounds(gBounds);
)
is there any other solution?
Thanks
Carlos Simões
Posted on 2016-04-20
Carlos Simões
Rank: #253
Posted on 2016-04-20
Solution
Hey there, Bruno,
Can you please be a bit more specific? Do you mean scrolling to zoom doesn't work? Do the "+/-" buttons on the lower right corner show up at all?
Best regards,
Carlos Simões
Solution
Bruno Unknown
Posted on 2016-04-20
Bruno Unknown
Rank: #38488
Posted on 2016-04-20
Solution
when you set the parameter in Weblock
this zoom is ignored and makes auto-zoom
Solution
Carlos Simões
Posted on 2016-04-21
Carlos Simões
Rank: #253
Posted on 2016-04-21
Solution
Hmmm, you're right!
We should add a condition to only do fit to bounds when the 'zoom' property is not specified or even if it makes sense to run when the map loads.
Are you using bounds to adjust the map zoom according to its markers? Becaus I'm not sure you'll keep that functionality with that line commented.
If not, everything should be OK.
Solution
Login to reply
New Post
Available Forums
Technology & Integration
News and Announcements
Forge Discussions
Meta
Hints and How-To Guides
Usability
Installation Troubleshooting
Personal Environment Troubleshooting
Forum Notifications
Email Digest Settings
Loading...
(hidden) New Badge Popup