I Already Don't Like You™. Pretty Sure The Message Was Clear. I ALREADY DON'T LIKE YOUGO AWAY

Spread the
hotness.

Spread it like butter.

Spread the
hotness.

Spread it like butter.

Spread the
hotness.

Spread it like butter.

Spread the
hotness.

Spread it like butter.

This is pretty useful. If you’ve ever tried to tackle google maps, you would understand what a welcome plugin this is. Because it’s a pain in the ass. Yes.

gregbabula:
Google Maps is extremely powerful, but using the JavaScript API can be a bit complex at times. That is exactly the problem that @HPNeo is trying to solve with GMaps.

There are a few requirements: jQuery and the Google Maps API. Just make sure you add all three JavaScript libraries to your page and you will be good to go:

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js"></script> <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=true"></script> <script type="text/javascript" src="https://raw.github.com/HPNeo/gmaps/master/gmaps.js"></script> 

Adding a basic map is very easy:

new GMap({ div: "#map", lat: 39.905588, lng: -75.16644, zoom: 20 // (Optional: defaults to 15) }); 

They also have support for markers, geolocation, geocoding, and more.

The project could use some documentation help, so I would encourage you to fork the repository and get involved!

Checkout the examples or browse the source at GitHub

Reblogged Via: Front End Development Blog by Greg Babula Source: thechangelog

Spread the
hotness.

Spread it like butter.
back to top

Who the hell is this guy?

Who the hell is this guy?

Oh wow, someone's actually reading this? OK, this is happening. My name is Alex and I'm a designer with slight anti-social tendencies. I'm black, live in the DFW metroplex, work at an ad agency, and drink alone in the dark on week nights. While being black, I write this blog as a creative outlet when not starting flame wars over the best episode of Battlestar Galactica (Gaeta's Uprising or The Final Five Revelation of course). I share interactive & design inspiration, the latest in pop culture, movies, and general nerdery.

I am currently unmarried and live alone. I make egg sandwiches and have no pets. I like eating tacos with no pants as well.

high resolution medium resolution mobile resolution

viewed on a high resolutionmedium resolutionmobile resolution device

NEWER OLDER