News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Andreas Gohr's Blog:
A Pirate Map with LibGD and Google Maps
February 03, 2009 @ 07:53:41

Andreas Gohr has a fun example of how you can combine the Google mapping technology with the GD rendering image that comes standard with PHP to make "pirate maps" (like this).

Yesterday I thought about visualizing photo geodata. While tinkering with different ideas, I thought about making it look like a real paper photograph placed on a real map. Of course it had to be automated somehow. So I spent a few hours with PHP's GD library functions. It's really cool what you can do with it.

He used a MapDecorate class he put together to create the "treasure map" in a few simple steps - grab the map and convert to sepia, add additional textures/images, add custom text to the bottom and place the selected photo on the map.

0 comments voice your opinion now!
googlemaps gd image library libgd pirate tutorial mapdecorate


blog comments powered by Disqus

Similar Posts

NETTUTS.com: Creating a Twitter OAuth Application

Gonzalo Ayuso: Handling several DBALs in Symfony2 through the Dependency Injection with PHP

SitePoint PHP Blog: Using Github Webhooks with PHP

Kore Nordmann's Blog: Published article "Image creation with PHP"

PHPMaster.com: Dependency Injection with Pimple


Community Events

Don't see your event here?
Let us know!


conference configure composer application api release interview opinion example introduction series php7 performance library podcast community symfony2 laravel framework part2

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework