On Jan 27, 2004, at 12:41 PM, Jaya S. Potharaju wrote:
> hi Don
> i added the following lines to the openmap.properties file and created
> a
> csv file for the gif image i want to load.the openmap.properties file
> looks like this
>
> openmap.layers=com.bbn.openmap.layers.myimage
This should be:
openmap.layers=myimage
The myimage is just a scoping word to group the properties for that
particular class you define below.
> myimage.class=com.bbn.openmap.plugin.CSVTiledImagePlugin
> myimage.prettyName=My Image Layer
> # URL of the data file
> myimage.tileFile=/store/openmap-4.5.4/sandiego.csv
You might want to try referencing the file as a URL:
myimage.tileFile=file:///store/openmap-4.5.4/sandiego.csv
- Don
>
> # If the csv file has descriptive header line that should not be used
> for images. (default = true)
> myImage.fileHasHeader=true
>
> .the image is 800x600 the csv file looks like this
> San
> Diego,US,32.6922,-117.1254,32.685,117.247,file:///store/openmap-4.5.4/
> sandiego7.jpg
>
> i also set the startup layer to be My Image Layer
> openmap.startUpLayers=My Image Layer
>
> But when i ran the application it didnt show the image ,only the frame
> with menu panels were displayed.
>
> Do i need to do anything else to make it work
> Thanks
> jay
>
>
> --
> [To unsubscribe to this list send an email to "majdart@bbn.com"
> with the following text in the BODY of the message "unsubscribe
> openmap-users"]
>
-- [To unsubscribe to this list send an email to "majdart@bbn.com" with the following text in the BODY of the message "unsubscribe openmap-users"]Received on Tue Jan 27 13:08:19 2004
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:37 EDT