Giter Club home page Giter Club logo

Comments (3)

JasonSanford avatar JasonSanford commented on August 18, 2024

Hi thco, that was closed a number of years ago, so I can't remember exactly why I decided to close it but a few things that come to mind are:

  1. There was no example usage of the new functionality.
  2. The updated code wasn't sent in a pull request where it is easy to see exactly what changed. Pull requests also allow users to talk about proposed code changes easily.
  3. I'm not sure the code changes are necessary. A user could more easily add getCenter and getBounds methods to the geometries' prototype.

I should have stated one or more of these when closing the above issue, so that's my fault. Still, I don't think something like this should be added.

from geojson-google-maps.

thiphariel avatar thiphariel commented on August 18, 2024

Ok. I understand, I guess, it's really better to propose PR than hard readable code like this :)

Since few hours now, I tried this providedd code, and yeah, it's not very complient ... You right, maybe it's better to extend geometries prototype, or make some custom function that will read coordinates and fit map bounds with them.

Thanks for those informations !

I close :)

from geojson-google-maps.

JasonSanford avatar JasonSanford commented on August 18, 2024

👍

from geojson-google-maps.

Related Issues (16)

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.