Saturday, October 17, 2009

removing "Return to last results" control

Hello,

A couple of questions about the round control that allows the users to
pan, return to last results.


1. For the "Return to last results" part, how does it determine what
the "last results" are?

2. Is there a way I can remove the return to last results portion, but
keep the zoom control?

This code removes both the zoomlevel control and return to last
results:

// remove pan/go to last result control
ui = map.getDefaultUI();
ui.controls.largemapcontrol3d = false;
ui.controls.scalecontrol = true;
map.setUI(ui);

The page is: http://devasp.northcarolina.edu/iic/exams/find.php

Any ideas?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Google Maps API" group.
To post to this group, send email to google-maps-api@googlegroups.com
To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en
-~----------~----~----~----~------~----~------~--~---

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate