codegile / gmaps-markerwithlabel-amd

Google Maps MarkerWithLabel Utility with AMD support ( works with requirejs optimizer )

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gmaps-markerwithlabel-amd

Based on Google Maps MarkerWithLabel 1.1.9. This is basically a fork that adds src/markerwithlabel-amd.js.

This extension offers AMD support for Google Maps MarkerWithLabel utility library of Google Maps Javascript API v3. Also fixes the problem with requirejs optimizer. Dependencies

bower install google-markerwithlabel
git clone https://github.com/lupugabriel1/gmaps-markerwithlabel-amd.git

Usage

paths: {
    require.config({
        /* Bower Libraries */
        async: '../bower_components/requirejs-plugins/src/async',
        markerlabel: '../bower_components/google-makerwithlabel/src/markerwithlabel-amd',
...
var MarkerLabel = require('markerlabel');
...
var myMarker = new MarkerLabel({ ... })

License

Apache 2.0

About

Google Maps MarkerWithLabel Utility with AMD support ( works with requirejs optimizer )

License:Apache License 2.0


Languages

Language:JavaScript 100.0%