Hi Chhaya,
You can use those lat and lon values to create OMGraphic objects in a
Layer or PlugIn (within a PlugInLayer), and then add the layer to your
map. You can start by modifying the DemoLayer, or use any of the other
layers as an example of setting up a layer to use customized data. You
might need to customize your layer further, depending on how flexible
you want to make it, for instance, if you want it to load a data file
when it is added to the map for the first time instead of hard-coding
lat/lon values, etc.
If your lat/lons are point locations, you might want to check out the
com.bbn.openmap.layer.location package, and the csv sub-package. If
your data is in a comma-separated value file, you might be able to
display it with the LocationLayer, using the CSVLocationHandler, by
adding the properties for a new layer in the openmap.properties file.
You could also use that location handler as an example of constructing
OMGraphics (choosing the type depends on what shape the data represents).
Cheers,
Don
On Wednesday, January 2, 2002, at 09:44 AM, Chhaya Mudgal wrote:
> Hi
>
> I have latitide and longitude in decimal degrees instead of a .shp file
> how can I draw map using open map?
>
> Thanks
> Chhaya
>
>
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Donald Dietrick, dietrick@bbn.com
BBN Technologies, Cambridge, MA
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-- [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 Wed Jan 2 12:45:16 2002
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:32 EDT