For the ZoomTo() function, you can zoom to any bbox this way. config.objects.mainMap.map.zoomToExtent(new OpenLayers.Bounds(ul[0], lr[1], lr[0], ul[1]))
Regards. Huaining Thorsten Stanitzok wrote: > > I try to give the user of my mapbuilder the possibility to search for a > special feature (e.g the ID) and zoom to this feature directly. Later it > should be possible to search with wildcards to choose the feature from a > list. > > But im not really sure how to do sth. like this within the mapbuilder. > After looking at the examples, i thought i should give the > WebServiceForm like in the GeoBliki example a try. This, i think, is the > wrong way, but i dont want to loose much more time in finding the right > way, so i ask, what should i do? > > Is the WebServiceForm the right way to achieve my goal? > > Or is the way shown in the Building A Web App - tutorial by Brent Owens > [1] (Step 3 and 5) the way i have to go? > > Or exists another solution out there? > > I would be pleased to recieve some hints or links where i can look into. > > > I use Mapbuilder 1.5 RC1 and MapServer version 5.0.0. > > Thorsten > > > [1] http://communitymapbuilder.org/display/MAP/Building+A+Web+App > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Mapbuilder-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/mapbuilder-users > > -- View this message in context: http://www.nabble.com/How-to-search-for-and-zoom-to-a-feature--tp15457540p15488244.html Sent from the MapBuilder Users mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Mapbuilder-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mapbuilder-users
