Code Monkey home page Code Monkey logo

Comments (3)

xon52 avatar xon52 commented on August 16, 2024

Unfortunately I can only emit an @error event for Vue-related errors. When the Map won't load because of Google / API / API Key issues then as far as Vue knows, it has loaded. Next iteration of this I'll see if I can think of a better way to pass these errors into Vue.
But you should have an @error event now for the Map component in v0.1.6.

from v3-gmaps.

gerritvanaaken avatar gerritvanaaken commented on August 16, 2024

Alright, let’s see! ;-)

A year ago, we forked your v2 Map.vue component and did a lot of changes to fit our needs. See the attached file. I don’t want to do the forking anymore, obviously...

Here the error message works pretty well for native GoogleMaps errors, especially for non-loading Maps. Maybe you can transfer this in an elegant way to the new version?

Map.vue

from v3-gmaps.

xon52 avatar xon52 commented on August 16, 2024

Awesome. I'll have a look at that when I get back to this 🙏

from v3-gmaps.

Related Issues (8)

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.