hpneo / gmaps

the easiest way to use Google Maps
https://hpneo.dev/gmaps/
7.03k stars 1.28k forks source link

Move gmaps.js to NPM and modularize it. #404

Open hpneo opened 9 years ago

hpneo commented 9 years ago

I've been playing with @ampersandjs and I must say is amazing what they accomplished in terms of simplicity, code reusability and a better approach to work with modules. I'm thinking on follow that philosophy and make gmaps.js a modular library for working with Google Maps.

That way, you can use only what you need (markers but no routes, polygons but no layers), and even make your own builds with what you need, or extend gmap.js in an easier way.

To do this, I need to use Browserify to create the bundles for using the library in the browser, since the gmaps modules should be in NPM, like https://www.npmjs.com/search?q=ampersand-

I want to know what do you think.

zeroedin commented 9 years ago

I think this sounds awesome. Thanks for all your hard work.

hpneo commented 9 years ago

I've moved 9 modules to NPM so far:

When I finish to move all the modules I will remove the lib from this repo and create bundles with all of these modules.

jeduan commented 9 years ago

:+1:

bbirand commented 9 years ago

:+1:

xenda commented 9 years ago

:+1:

reinos commented 9 years ago

Great idea! +1

viyancs commented 9 years ago

awesome, maybe one again place into bower. because this file include inside frontend it's should be nice.

jibiel commented 9 years ago

@hpneo Will your project remain available as a gem?

jibiel commented 9 years ago

Sorry, wrong project. I was talking about @xenda's gmapsjs.

imadarif commented 8 years ago

hey hpneo there is no inside callback for geo fence ??

ejlocop commented 7 years ago

+1

kirantpatil commented 7 years ago

hi, any updates on this issue ?

hpneo commented 7 years ago

I'm so sorry, I've been really busy with my daytime job I'm not sure if I can make it.

There is already a bunch of gmaps modules on NPM but they're behind the gmaps master branch, so besides of finishing the split now I have to update the already created packages, and it's a lot of work I can't do right now.

I hope I can make some time for this but I can't assure you.

DanDvoracek commented 7 years ago

Found it here if anybody is looking for the npm repo: https://www.npmjs.com/package/gmaps

vurso commented 6 years ago

Shame this project has stalled for so many years really made my life easier working with Google Maps API. Anyone thought of picking it back up?

jeduan commented 6 years ago

Why not you?

vurso commented 6 years ago

@jeduan don't know if I have the skills for it but you got me thinking I might just do it you know!

jeduan commented 6 years ago

You probably have all the skills you need or you can learn them easily.