Tim Schaub wrote: > Hey- > > miles wrote: > >> How can a simple jpeg image map be added as a layer(assuming the lat >> long corner pts are known) so that clicking on the layer can return lat >> long coordinates ? >> > > See http://openlayers.org/dev/examples/image-layer.html > > You can point to an arbitrary image and "georeference" it when creating > the layer. > That's where I had trouble. The example shows:
new OpenLayers.Bounds(-180, -88.759, 180, 88.759), but when I substituted my own coordinates, (ie -111.6, 40.3, -111.7, 40.4) the image disappeared. Does the georeferencing need to be done some other way ? Then I figured to use a mouse click event _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
