Can I change the scale prop in the map widget with code? MobiOne Archive > Getting Help – General This topic has 3 replies, 2 voices, and was last updated 10 years, 11 months ago by PaulLeBlanc. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts November 25, 2013 at 6:07 pm #344776 Reply PaulLeBlancParticipant I need to change the scale of the map widget programatically, ie I need to change it from 2 to 5 or 5-6, etc. I have tried setting the attributes: $(“#m1-08A-map1 > value”).attr(‘Scale’,5); phoneui.preprocessDOM(“#m1-08A”); Any ideas from anybody? Thanks November 30, 2013 at 7:23 pm #344916 Reply PaulLeBlancParticipant Wayne, Any ideas yet? November 30, 2013 at 7:43 pm #344918 Reply Unknown AuthorParticipant Yes, you can. In my app, Proximal (https://itunes.apple.com/us/app/proximal/id572222453?mt=8), I change scale based on radius entered by the user. You need to update the zoom property of the map itself. gmap.setZoom(number); -1tc December 18, 2013 at 5:04 pm #345355 Reply PaulLeBlancParticipant -1tc, Thanks so much. That is exactly what I needed. I too will zoom based on radius. Thanks again. Paul Author Posts Viewing 4 posts - 1 through 4 (of 4 total) Reply To: Can I change the scale prop in the map widget with code? You must be logged in to post in the forum log in