[OpenLayers-Users] relocating PanZoom Control
Graham Davis
gdavis at refractions.net
Tue Feb 27 11:20:51 EST 2007
Another option is to update the mouselistener events in your panzoom
control so that it stops the click events from propograting to your
getFeaatureInfo code when you click on the zoom control. This would
allow you to have the controls on the map and would prevent your click
event from firing when clicking anywhere on the zoom control.
Graham.
bradleyspencer wrote:
> In Google maps the API allows you to locate the panZoom controls
> outside the map by allowing you to anchor to one of the four corners.
> Is there a similar feature in OpenLayers.
>
>
>
> I want to do this because I am using a mouse click on the map to do a
> getFeatureInfo request but when I click on the panzoom to do navigate
> around the map it actually launches off the getFeatureInfo request. So
> the best way to do this is to move the controls off the map.
>
>
>
> See http://www.cubewerx.com.au/DemoDrapes.html
>
>
>
> Cheers,
>
>
>
> *Brad Spencer***
>
> General Manager
>
> CubeWerx Australia Pty Ltd
>
> ABN: 37 115 163 285
>
> Mob: +61 (0)404 841 131
>
> Tel/Fax: +61 (0)2 9481 7024
>
> mailto:brad at cubewerx.com.au
>
> http://www.cubewerx.com.au
>
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Users mailing list
>Users at openlayers.org
>http://openlayers.org/mailman/listinfo/users
>
>
--
Graham Davis
Refractions Research Inc.
gdavis at refractions.net
More information about the Users
mailing list