Giter Site home page Giter Site logo

Comments (7)

bryceco avatar bryceco commented on July 16, 2024

If you want to experiment with this you can add

if object.isModified() {
    renderInfo.lineColor = .red
}

here:

This won't work with nodes however.

from gomap.

mtzfederico avatar mtzfederico commented on July 16, 2024

I am trying to get it to build, but I can't get the dependencies installed. Xcode shows KissXML and FastCodable as corrupted. I was not able to find a source for FastCodable and were not able to get KissXML fixed. How do you install them?

from gomap.

bryceco avatar bryceco commented on July 16, 2024

FastCodable is my own thing:
https://github.com/bryceco/FastCodable

Not sure about the corruption thing you're seeing. You get that when you use File > Packages > Resolve Package Versions?

from gomap.

mtzfederico avatar mtzfederico commented on July 16, 2024

I got it working. I renamed the file GoMap/src/iOS/Go\ Map\!\!.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved to ignore.Package-resolved and Xcode automatically fetched the dependencies. I left it as is, but I guess it could be deleted.

I tried 4 different combinations. I prefer the third one since it is more obvious and the border doesn't look weird when it is next to other ways, but the first or the fourth one are not bad options. What do you think?

  1. renderInfo.lineColor = .red

IMG_0627

  1. renderInfo.lineColor = .purple
    renderInfo.areaColor = .blue

IMG_0628

  1. renderInfo.areaColor = .blue

IMG_0629

  1. renderInfo.lineColor = .purple

IMG_0630

from gomap.

bryceco avatar bryceco commented on July 16, 2024

If we decided to incorporate something like this (and I'm far from convinced it's something people want in general) then it should work equally well for areas, ways and nodes. And it would be nice if it didn't hide what type of feature it is (e.g. sidewalk vs path), which means it should probably be a treatment on the casing.

from gomap.

mtzfederico avatar mtzfederico commented on July 16, 2024

I agree with you. I am not sure what the best way to do this is. For ways, I'm thinking that some sort of pattern such as stripes where every other one is a lighter shade of the features color could work, but I don't have any ideas for ways and nodes.
If a good amount of people are not interested in this, then it is probably not the most important thing to focus on.

from gomap.

bryceco avatar bryceco commented on July 16, 2024

Nobody has jumped in to support this idea, so I'm closing for lack of interest. Sorry!

from gomap.

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.