<div dir="ltr">Hello,<div><br></div><div>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.</div>
<div><br></div><div>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?</div>
<div><br></div><div>Any advice gratefully received.</div><div><br></div><div>many thanks in advance</div><div>Mike</div><div><br></div><div><br></div></div>