Re: [OpenMap Users] Displaying Streetnames - Beginner

From: Don Dietrick <>
Date: Wed, 26 Oct 2005 11:42:30 -0400

Hi Sump,

For EsriPolyLine you'd need to ask a different question, like
getLatLonArray(). Watch out, the float[] returned is in radians.
You can use the ProjMath class to convert them to decimal degrees,
but you'll want to copy them to a new array first. Converting them
to decimal degrees will mess up the EsriPolyLine for display.

The getLat() and getLon() methods are for lines with

Hope this helps,


On Oct 25, 2005, at 9:00 AM, su mo wrote:

> Hi,
> I am using latest openmap. I need to display street name from the
> DBF file.
> My questions are:
> 1. How do I get the lat/long for the street name?
> I think they are stored in shp file. But when I use
> EsriGraphicList.iterator().next(),
> I get EsriPolyLine. But the EsriPolyLine.getLat() and getLong()
> always return 0.0, 0.0
> even after tried to set the RenderType to latlong on the EsriPolyLine.
> 2. How do I take care of orientation of street name display and
> zoom changes on main
> map?
> -Thanks in advance
> -Sumo

[To unsubscribe to this list send an email to ""
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Wed Oct 26 2005 - 11:44:28 EDT

This archive was generated by hypermail 2.3.0 : Tue Mar 28 2017 - 23:25:07 EDT