Re: [OpenMap Users] Displaying Streetnames - Beginner

From: su mo <sumo18_at_gmail.com>
Date: Thu, 27 Oct 2005 16:45:14 +0530

Hi Don

Thanks for your help. It worked. I can see the streetnames horizontally.

I have used FontSizer now to take care of zooming.

But I am still not able to find way a to set the orientation of text in
parallel
with the actual road display.

Thanks in advance

-Sumo.

On 10/26/05, Don Dietrick <dietrick_at_bbn.com> wrote:
>
> 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
> RENDERTYPE_OFFSET settings.
>
> Hope this helps,
>
> Don
>
>
> 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 "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Thu Oct 27 2005 - 07:16:21 EDT

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