Giter Club home page Giter Club logo

mapboxgl-minimap's Introduction

Hi there! πŸ‘‹πŸˆπŸΏοΈ

I'm a web developer and a musician, currently working at Toptal core team as a senior front-end engineer. My previous job was at Shoutem, working as a React Native and web developer.

WordPress development used to be everything to me, but nowadays it's Javascript (vanilla, React, React Native, Electron, Node). I'm currently playing with Web Audio API and Web MIDI to see what's possible in that area.

🎹🎡 As a musician, my most notable release to date is the official soundtrack for "Unity of Command II", an amazing WWII turn-based strategy game. You can get the soundtrack on Steam and Bandcamp.

For the rest of my discography, please check out my Soundcloud and Bandcamp profiles.

I also have a Freesound profile, where I occasionally upload sounds that I've recorded.

My Twitter account is not that active these days, but I still use it ☺️

mapboxgl-minimap's People

Contributors

aesqe avatar agatheblues avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

mapboxgl-minimap's Issues

TypeError: Cannot read property 'inherit' of undefined

When trying to use the minimap in react, it returns me this error:

mapboxgl-control-minimap.js:17 Uncaught TypeError: Cannot read property 'inherit' of undefined

Line 17: Minimap.prototype = mapboxgl.util.inherit(mapboxgl.Control, { options

is it because the mapbox version is too old?

Implement onRemove function

It would be great if the plugin implemented the onRemove function for controls. That would make it easy to remove the minimap cleanly.

I'm allowing users to toggle whether to see the minimap or not on a project and this issue arose.

Publish on NPM?

It would be great if this was published as an NPM package. It would make installing it much easier.

"TypeError: Attempted to assign to readonly property" in Safari

I'm getting this follow error when using the mapboxgl-minimap in Safari:

screen shot 2017-01-09 at 08 31 43

As you can see, the error occurs in the onAdd method, more specifically in this line: var container = this._container = this._createContainer(parentMap).
If I disallow the strict mode, the Safari stops from alerting about the TypeError, but the minimap does not works, anyway.

This error occurs just in Safari, I have tested on Chrome, Firefox and Opera and I got no error.

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.