Giter Club home page Giter Club logo

Comments (5)

mtoon avatar mtoon commented on September 13, 2024

BTW.. If it's not currently possible, please let me know how you might implement it and I can flesh that out and upload it.
Thanks!

from route-me.

trasch avatar trasch commented on September 13, 2024

It's not designed to handle layers on the map without an annotation, since there is a lot of logic attached to the annotations, like moving the annotation layers with the map (map and layers are two different views).

If you really want to try it, have a look at

- (void)correctPositionOfAllAnnotationsIncludingInvisibles:(BOOL)correctAllAnnotations wasZoom:(BOOL)wasZoom;

especially

[overlayView addSublayer:annotation.layer];

But I doubt you will be happy with static paths...

from route-me.

mtoon avatar mtoon commented on September 13, 2024

I'll take a look... Is there any interest in supporting "static layers"? If so, I can start working on an implementation of that, otherwise I might try and keep to the annotation route to stay compatible with the library going forward (I really like this new iteration of the route-me library, I am just having a couple of legacy conversion issues, but getting my custom tile sources up to speed was no problem and I love the more efficient memory footprint, so thanks to everyone that have already contributed!).

from route-me.

trasch avatar trasch commented on September 13, 2024

Is this related to #18? If so, it would probably be better to solve that problem first. Adding layers to the map without annotations is not really intended usage, so it might be easier to look for other solutions first... :)

from route-me.

mtoon avatar mtoon commented on September 13, 2024

Yes, it's related. I think the bounding box idea might be perfect. I basically need the ability to place some RMMapLayers on the map for various elements that are not specific points, rather "regions".. So, RMCircle, custom RMPaths and other items that descend from RMMapLayer. However, I think whatever comes out of #18 is going to solve this one as well.

from route-me.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.