Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi all,
I have a google map in my application with a slider which zooms in and out.
i was wondering if there was a way i could reverse the slider as currently if i slide up it zooms out and slide down it zooms in but usually its the other way around, so i want the map to zoom in when i slide up and zoom out when i slide down.
does anyone have any ideas please?
if you're using a zoom table linked to a slider object, i use SORT property NUmeric ASC/DESC
Hi Jonathan,
I am using a variable for the Zoom, I can't change anything on the sort tab
i see, from the google map guide there is already a zoom table generator, personally i load inline the zoom table with values i needed.
I haven't really thought of using variable for zoom, but i have a feeling it is also in the SORT prop, will try that today.
btw, this is my 500th point. yahooo!
i think i manage to crack it mate,
for min/max, i used -3/-12 respectively,
slider saves value to variable (vZoomValue)
afterwards, i used FABS() on zoom to make the negative go Positive
FABS(vZoomValue)
congrats on your 500th point!
any chance you have an example?
attached a sample Mapquest (not google, but should be the same).
Ive added the slider objects, linked to variable,
there is a trigger for "vZoomValue" "OnChange" to "Select in Field" "%zoomlevel"
Hi Jonathan,
Sorry, its probably me being stupid, but i can't see how your slider interacts with the map. the slider uses the VZoom_Value but how does the map know to respond to that variable?
if you got to Documenty Properties (ctrl+alt+D)>>Triggers tab.
on Variable Event Triggers>> vZoomValue
i added an OnChange Trigger to "Select in Field"