Hello,

I use Openlayers to create a TMS layer using a tiled hires image of an
exhibition floorplan.  I want a viewer of the floorplan to be able to
geolocate themselves on the layer when viewing the map on a mobile device.
 To do this, I want to use OpenlLayers.Control.Geolocate to return the
users current position, and then put a marker on the TMS layer
corresponding to the position.

I'm trying to figure out how I can somehow associate global latitude and
longitude values to the bounds of the layer, so that the map knows where to
plot the users position, but I'm not sure how to do this.  Can I somehow
create a custom projection to convert between the TMS and the location
lonlat?  Or are there any other ways to do this?

Any advice gratefully received.

many thanks in advance
Mike
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to