Does it have to be zoomed out so much?  If you zoom in a bit,  I think this
issue will get fixed.

Thanks,
Om
On Jan 19, 2016 10:04 PM, "Deepak MS" <megharajdee...@gmail.com> wrote:

> Is there any option to avoid multiple instances of the map? I did try using
> extent
>
> var et:MapExtent = new MapExtent(90, -90, 180, -180);
>               //  myMap.map.setExtent(et);
>                 myMap.extent = et;
>
> But there is no change in the map.
>
> The problem is, for US map, some part gets drawn on one instance and rest
> of the part gets drawn on another instance of the map.
>
> Screen shot for reference. Here, 'B' needs to be in 'A's location.
> http://snag.gy/43s6a.jpg
>
>
>
> On Tue, Jan 19, 2016 at 10:24 PM, Deepak MS <megharajdee...@gmail.com>
> wrote:
>
> > Well, I tried earlier approach for 4 days, but it didn't quite work as
> > expected. Entire map needs to be rendered using svg alone or based on
> > long/lat points. Its difficult to merge lat/long based custom regions
> over
> > svg.
> >
> > But modestmap worked well. Thank you so much for sharing those links.
> > On 15 Jan 2016 1:31 am, "OmPrakash Muppirala" <bigosma...@gmail.com>
> > wrote:
> >
> >> Also, if you have not already seen it, ModestMaps has a pretty cool AS3
> >> implementation.
> >>
> >> https://github.com/migurski/modestmaps-as3
> >>
> >> I have used it for desktop, web and iOS apps.  You can draw markers,
> >> polygons etc. just like you would on google maps.
> >>
> >> If you dont have a lot of success figuring out the earlier approach, see
> >> if
> >> this works.
> >>
> >> There is a Flex wrapper for this as well:
> >> https://github.com/igorcosta/flex-maps
> >>
> >> Thanks,
> >> Om
> >>
> >> On Thu, Jan 14, 2016 at 11:55 AM, OmPrakash Muppirala <
> >> bigosma...@gmail.com>
> >> wrote:
> >>
> >> > Cool.  I see the UK map rendering fine.
> >> >
> >> > The next step is to figure out why the co-ordinates are not rendering.
> >> > The key is to get the correct projection.  I am pretty sure GeoJSON
> >> > co-ordinates are in Mercator projection.
> >> >
> >> > Here is a nice article that seems to be solving a similar problem.
> See
> >> if
> >> > this helps:
> >> > http://mikefowler.me/2014/06/10/drawing-geojson-in-a-canvas/
> >> >
> >> > Thanks,
> >> > Om
> >> >
> >> > On Wed, Jan 13, 2016 at 9:59 PM, Deepak MS <megharajdee...@gmail.com>
> >> > wrote:
> >> >
> >> >> Oh I really didn't knew that those values are swapped. Generally it
> >> would
> >> >> be lat\lng. Sorry for that. That was a sample data I got from the
> team
> >> and
> >> >> yes that is Oz data(NSW boundary).
> >> >>
> >> >> Anyway, to make it simple. I have created a project including the
> >> library:
> >> >>
> >>
> http://apache-flex-users.2333346.n4.nabble.com/file/n11744/StaticMap.zip
> >> >>
> >> >> It has data which is a rectangular region surrounding London.
> >> >>
> >> >> We can get lat\lng points of custom regions here(by drawing
> >> >> circles\rectangles\lines on the map):
> >> >> http://geojson.io/
> >> >>
> >> >> In attached code, UK map gets plotted, only thing now is to
> >> draw\highlight
> >> >> region on top of the map based on the lat\long data.
> >> >>
> >> >
> >> >
> >>
> >
>

Reply via email to