Code Monkey home page Code Monkey logo

Comments (8)

bhuveshsharma09 avatar bhuveshsharma09 commented on June 10, 2024 1

Hey @JacobGeoGeek, Yes it will affect while adding marker or shapes as well.

from flask-googlemaps.

JacobGeoGeek avatar JacobGeoGeek commented on June 10, 2024 1

@Riverfount you should probably close this issue, since my PR was merged into the master branch

from flask-googlemaps.

JacobGeoGeek avatar JacobGeoGeek commented on June 10, 2024 1

Hello @Riverfount and happy new year,

I can help you on some issues related this repo. However, I will probably not have a lot of time to check each one of them. Also, I'm not really an expert with the Flask framework. So, there will be a lot of learning periods in order to understand the mechanics behind this framework.

Have a good day,
Jacob.

from flask-googlemaps.

JacobGeoGeek avatar JacobGeoGeek commented on June 10, 2024

I was wondering if this bug is only available when a user initializes the Map object ? Or we can also find this bug when someone adds a mark or a polygon.

from flask-googlemaps.

JacobGeoGeek avatar JacobGeoGeek commented on June 10, 2024

Good morning @bhuveshsharma09 (from Canada)

In this case, I should probably call the method (check the PR #138 for more detail ) for every property that handles a set of coordinates (ex: add a circle, create polygons ...).

I think it will be a good idea to mention this restriction on the README.md (so users are aware of the boundaries of lat long coordinates).

Thanks for the feedback. (FYI: I'm just starting to contribute to this repo.)

from flask-googlemaps.

bhuveshsharma09 avatar bhuveshsharma09 commented on June 10, 2024

Hello @JacobGeoGeek !

I think there is no need to call this method for other properties as in all other properties (like marker, shapes, etc.) the Map class is already being initialized (to form a Map object) which already invokes this method.

I saw the PR, great work. I locally have also developed a solution for this issue until the code merges.

Have a great day!

from flask-googlemaps.

JacobGeoGeek avatar JacobGeoGeek commented on June 10, 2024

Hey @bhuveshsharma09 !

Correct if I am wrong: after looking at the constructor of the Map class (def __init__ (....)) I noticed that the constructor will call methods like self.build_something (ex: self.build_markers) in order to create the geometry form on the map.

Also, those methods take an array or a dictionary of lat, lng

With that, I do think that we need to validate each coordinates within those methods?

Cheers !

from flask-googlemaps.

Riverfount avatar Riverfount commented on June 10, 2024

@JacobGeoGeek, pleas can you help me to admin these issues??

from flask-googlemaps.

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.