Smashinglabs

Sebastian Poręba's blog

What is gMap?

gMap is a jQuery plugin embedding Google Maps into your website.

It allows you to:

  • set center, zoom level and type of map
  • add multiple markers with custom icons, popups and titles
  • position marker by latitude/longitude as well as by its address
  • set your customized map controls
  • retrieve map object and use it for even most complex tasks

Purpose of gMap is to help you keep your code clean and to create Google Map in very easy way, without learning its API. In future versions gMap will be improved with functions that are hard to achieve with Google Maps. Hopefully it will turn into great data visualisation tool, while still maintaining its simplicity.

Latest stable release: 3.3.0

Donate

gMap is free and will stay that way as long as I'm in charge. However, I like cold beer from a decent brewery, so if you think I deserve one, you know what to do:

Social

Like Smashinglabs on Facebook to get gMap updates and other JS news.
Follow me on twitter
Read my blog. You are doing it right now. There is much more than gMap here.

Example

This tiny line of code is being used to embed the map below. Simple, isn't it?

 $('#map').gMap({ address: 'Kraków, Poland', zoom:12 }); 
loading...

What has happened to V2 version?

It's still available here.
  • RSS
  • Facebook
  • Twitter

FAQ about Wordpress

If you are a template developer: I don't mind anyone using ...

gMap 3.3.3 released

In the late evening an international number called my mobile. ...

Talks for Google Dev

First one from Google I/O Extended event in Krakow, about ...

Talks and lectures w

Bret Victor - Inventing on Principle Very inspiring talk about tools ...

3D Tetris with Three

[include file="ThreejsTetrisMenu.php"] Completed slices and score counting This function will be quite ...

FAQ about Wordpress

If you are a template developer: I don't mind anyone using ...

gMap 3.3.0 released

As always, you can download it from github. I had a ...

Lecture for GTUG: Ja

My main topics were: Optimization in general DOM Reflow/repaint Garbage collector JIT Google Closure (Compiler/Tools/Library) You can ...

Unit testing for jQu

In part 1 I described basics of unit testing in ...

Unit testing for jQu

There are few testing frameworks dedicated for frontend that are ...