Compatibility with async loading of Google Maps#11
Compatibility with async loading of Google Maps#11fhackenberger wants to merge 5 commits intogooglearchive:gh-pagesfrom
Conversation
This is useful to place the text above a marker icon
The canvas is always 300px wide, so in case the text is longer and cut off, at least it still aligns correctly.
|
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed, please reply here (e.g.
|
|
Seems like #9 already has all of there. Please merge that one instead of mine. |
|
I signed it! On 06/09/2016 07:01 PM, googlebot wrote:
DI Florian Hackenberger |
Hi!
In order to use the library, I changed the code to use its own namespace (googlemaps.jsMapLabel) and added lazy loading support, by calling an init function (not requires when google.maps is already available on script load).
This pull request also adds high DPI screen support from https://github.com/daniellmb/js-map-label fixes an issue with alignment and adds a marginTop config option that I needed for my project here.
Best, Florian