WebDNA Google Map Mashup

Generate a Google map with pins on your database addresses

numero = 311
interpreted = N
texte = This is a fairly simple code snippet that will generate a Google map of your founditems. The map code itself is small and tidy, and takes only a few variables to define the default map's size, centerpoint and zoom level. You will also need to make a quick trip to Google to fetch a free key good for any map at your specific domain name. The hard part of the operation is mapping your addresses with longitude and latitude coordinates. I've written a script that helps in this regard using a simple scraping method (no special API calls or unwieldy XML necessary). Instructions are on the two pages that comprise the module.
Get the Module
This module will show you how to use [tcpsend] and [tcpconnect] to scrape data from pages, [middle] to extract just what you need, and then write it to your database. This is a fairly simple code snippet that will generate a Google map of your founditems. The map code itself is small and tidy, and takes only a few variables to define the default map's size, centerpoint and zoom level. You will also need to make a quick trip to Google to fetch a free key good for any map at your specific domain name.

The hard part of the operation is mapping your addresses with longitude and latitude coordinates. I've written a script that helps in this regard using a simple scraping method (no special API calls or unwieldy XML necessary). Instructions are on the two pages that comprise the module.

Get the Module


This module will show you how to use [tcpsend] and [tcpconnect] to scrape data from pages, [middle] to extract just what you need, and then write it to your database. Terry Wilson

DOWNLOAD WEBDNA NOW!

Top Articles:

Tips and Tricks

A list of user-submitted tips ...

Download WebDNA Applications

WebDNA applications...

WebDNA Modules

A list of the currently available modules...

AWS Raw WebDNA LAMP-Plus WebServer

Amazon Web Services (AWS) README for Machine Image ID...

WebDNA Libraries

A list of available libraries for WebDNA...

Technical Change History

This Technical Change History provides a reverse chronological list of WebDNA changes...

Related Readings:

How old am I?

You want to express an age in years given the dob (mm/dd/yyyy) and today's date...

Setting a 30-minute Cookie

Configuring the expires time for a short-term cookie is tricky...

How to setup CODA to work with WebDNA?

This page will show graphically how to setup CODA as a WebDNA partner :-)...

ImageMagick

Use ImageMagick to manipulate images when you upload them...

random password-generator code

Generate a random alpha-numeric string...

Write Once Use Many

Reuse the same code over and over again on your site with the [include] context...