[OpenLayers-Users] geo referenced image layer
Mike Adair
madair at dmsolutions.ca
Fri Nov 16 08:43:01 EST 2007
Try this?
(-111.7, 40.3, -111.6, 40.4)
swapping your min/max x values.
Mike
miles wrote:
> 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
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>
>
More information about the Users
mailing list