 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
Internet.com: Plotting Map Markers Dynamically Using the Google Maps API, jQuery, PHP, and MySQL
by Chris Cornutt February 18, 2010 @ 09:44:25
On Internet.com there's a new video tutorial showing you how to work with the Google Maps API and PHP to create a Google map with multiple points plotted from the coordinate data held in a MySQL database. The example doesn't use any sort of framework to get the job done - just straight PHP.
The Google Maps API makes it trivially easy for anybody to create a custom Web-based map, complete with features such as event handlers, route directions, and sophisticated overlays. However, the genesis of many such features stems from your ability to easily add map markers and store the corresponding coordinates within a database such as MySQL.
Unfortunately, there's no link to the sample code, so you'll just have to follow along on-screen. He does make it easy to tie the three technologies together - PHP, MySQL and jQuery - and make a simple multi-point map system. It's flexible too and can be easily extended to include more information in each of the map points (like a name for the location).
voice your opinion now!
mysql jquery tutorial googlemaps plot
PHPClasses.org Blog: Locating addresses on Google Maps embedded in PHP generated Web forms
by Chris Cornutt November 04, 2009 @ 12:45:51
On the PHPClasses.org blog there's a new tutorial showing how to use the goe-location support the Google Maps API offers to search for and find an address.
Sometimes it is necessary to get the coordinates of a location on the map. The map location plug-in lets the user point to any location by clicking on the map. [...] However, when the user does not know exactly where is the location he is looking for, it may be painful to find it just by zooming and looking around the map. The latest release of this plug-in makes possible for the users to type the address or name of the city you are looking for and search for the location without further effort.
He uses the form creation package to set up a simple address form (address and country) and a call to its connect() method to link Javascript to the form. When submitted, the new features of the class get to work and ask the Google API for the location and a map is generated with a marker on the spot requested.
voice your opinion now!
form googleapi googlemaps address search class
EasyPHPWebsites.com: Creating a Website Visitor Map (Ajax, jQuery, Google Maps API)
by Chris Cornutt June 22, 2009 @ 13:41:29
Jason Gilmore has posted the first tutorial in a series of tutorial combining PHP and jQuery, a look at creating a web site visitor map.
Have you ever wanted to create a map depicting the geographical origin
of recent visitors to your website? In this tutorial I'll show you how
to record these locations using the Google Ajax Search API, and then
use a combination of PHP, MySQL, Ajax, and the Google Maps API to
store these locations and build the map.
The tutorial shows how to use the Google Ajax API to locate the current visitor's spot in the world, store it into a MySQL database and then use a jQuery interface to pull the json-formatted details out of the system for display.
voice your opinion now!
map tutorial jquery googlemaps
Vancouver Web Consultants Blog: Getting Time Zone from Latitude & Longitude
by Chris Cornutt May 08, 2009 @ 11:15:30
On the Vancouver Web Consultants blog there's this new tutorial about grabbing latitude and longitude information for a location and determining its current time zone from there.
I was recently tasked with building an application that relied heavily on accurate time zone conversions. I, like many people I soon found out, thought there were just a handful of timezones and the usual select list would suffice. The deeper I looked into the problem, the deeper it got: the list above only shows a few time offsets from UTC, but it doesn't tell me, beyond a shadow of a doubt, exactly what time it is where the user is situated, nor can I rely on that time for calculations in the future. The fact is, here are a LOT of timezones in the world.
He came across the DateTimeZone class PHP has to offer and was happy to see it met his needs. Unfortunately, users weren't always sure what timezone they were in, so he came up with a system combining Google's Maps API and GeoNames.org. He includes the code for both the PHP and Javascript sides (the Javascript requires Mootools, but it could be easily adapted to any other Javascript libraries).
voice your opinion now!
timezone latitude longitude googlemaps geonames datetimezone
Developer.com: Charting Your Course Using the Google Maps API
by Chris Cornutt April 15, 2009 @ 17:27:05
Developer.com has posted the latest part in their series on using the Google Maps API. This time they focus on something a bit more complex - working with more than one point and creating complex routes between them.
This installment tackles another fascinating aspect you'll undoubtedly encounter when building location-based solutions, namely distance calculation. Whether you want to simply plot the distance separating two points on the map, or perform more complex operations involving measuring the total distance spanning a more complex route, understanding how to perform these sorts of calculations will prove invaluable time and again.
The tutorial gives you example screenshots and complete code to calculate the distance between two points and, based on plots of a few different points, how to determine the distance traveled. His example is of a running route around a park.
voice your opinion now!
chart course googlemaps api screenshot tutorial
NETTUTS.com: How to Create a Mashup by Combining 3 Different APIs
by Chris Cornutt October 13, 2008 @ 08:40:53
On the NETTUTS website today there's a new tutorial about mashups - specifically showing how to create a sample one by combining three services: Google Maps, the IPloc service and the Beer Mapping Project.
This tutorial will show you how to create a mashup of three different APIs including integration with Google Maps. This idea came about when I was searching through ProgrammableWeb's API directory for a couple APIs that complimented each other enough that I could use one to provide the other with data. What I came up with will be known as the "Beer Mashup".
They include links to scripts to interface easily with the APIs and the sample code you'll need to query against them. They wrap it up with the HTML for the output page (a map showing "beer hot spots" near your area) and the download of the source and demo to give an example of how it should look.
voice your opinion now!
mashup api googlemaps iploc beer mapping project tutorial
Technovated.com: A CMS solution on Mediatemple w/ the Seagull PHP Framework, inc Google Maps
by Chris Cornutt April 20, 2007 @ 10:13:00
On the Technovated.com blog, there's a new post that walks through - start to finish - the process of setting up a CMS hosted on a Mediatemple server with the help of the Seagull framework (along with Google Maps).
I developed the (Atalink) site using the Seagull php framework, using the publisher module (which has recently been superseded by the CMS module).
The publisher module requires a bit of hacking to make it run effectively, especially if the site requires content pages which have different layouts. But, overall the site works well and looks pretty good, even if I say so myself ;) .
I have still had a number of difficulties, so for those of you who are planning on building a similar site, here are some of the things which I have learnt.
Included among his "lessons learned" were some tips for using the publisher module, solving a server issue, fixing browser-related problems, and the integration of Google Maps.
voice your opinion now!
cms seagullframework solution mediatemple googlemaps cms seagullframework solution mediatemple googlemaps
|
Community Events
Don't see your event here? Let us know!
|