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

3D Tetris with Three

[include file="ThreejsTetrisMenu.php"] Joined or separated? Think about the way we play Tetris. ...

3D Tetris with Three

[include file="ThreejsTetrisMenu.php"] Preparation First you need to download Three.js: https://github.com/mrdoob/three.js I also use Stats ...

gMap 3.3.0 released

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

JavaScript performan

Trace JIT is no more I was surprised by the news that trace ...

Lecture for GTUG: Ja

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

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 ...

What do we need for

Contents Better graphics Involve desktop game developers Easier animations Code like in C++ Fix WebGL Write ...