Caspio, Inc.
Questions?  877.820.9100
Home  >  Support  >  Extend Caspio  >  Yahoo! and Google Map Mashup  >  Instructions

Map Mashup Instructions

Last updated July 13, 2007
Question? Post them on our forum.

New in Version 4:

Requirements:

Table of Contents

1. Caspio Bridge DataPage Setup

Configure your DataPage and map settings using the DataPage Wizard in Caspio Bridge.

2. Web Page Setup

You will need access to your web page source to deploy the DataPage and map.

-- You are finished. Your mashup should be fully functional. --

3. Additional Customization Options

Display Map on Search Page

To display the map with your search form, insert an HTML Block at the bottom of your DataPage elements in the "Configure Search Fields" section of the DataPage wizard. Make sure no fields from your table appear below the HTML Block
(Figure 7). Then copy and paste the following code into the HTML Block:

<div id="mapType" style="display:none">Y</div>
<div id="mapWidth" style="display:none">500</div>
<div id="mapHeight" style="display:none">500</div>
<span id="mapIcon" style="display:none">3</span>
<div id="plotMulti" style="display:none">Y</div>
<div id="zoomLevel" style="display:none">9</div>
<div id="home_position" style="display:none">1600 Pennsylvania Avenue NW Washington, DC 20500</div>

Map Positioning

By default, the map displays right above your DataPage. If you want to place your map in a different area of your page, place the following code there:

<div id="map"></div>

Map Border and Margin

By default, the map has a gray border and a 5 pixel margin above and below it. To customize these attributes, use the following code instead of the code provided above for "Map Positioning" and customize the style items in red.

<div id="map" style="border: 1px solid #000000; margin: 5px 0 5px 0;"></div>