map1.html 1/1 lectures/8/src/

Similar documents
Simple Carpool Application using SAP NetWeaver Portal, KM, XML Forms, and Google Maps

Client-side Web Engineering 2 From XML to Client-side Mashups. SWE 642, Spring 2008 Nick Duan. February 6, What is XML?

Sergio Luján Mora Department of Software and Computing Systems

Schenker AB. Interface documentation Map integration

Getting started with Franson GpsGate 2.0

Using an ArcGIS Server.Net version 10

X Slippy Maps. (...and Scott Davis)

ajax1.html 1/2 lectures/7/src/ ajax1.html 2/2 lectures/7/src/

1)); getactiveeditors(d, listid); getactiveauthors(d, listid); getcheckedourfilesusercount(listid); getdocumentsbyfiletype(listid); });

blink.html 1/1 lectures/6/src/ form.html 1/1 lectures/6/src/

WEB MAPPING WITH GOOGLE MAPS MASHUPS: OVERLAYING GEODATA


Part A Short Answer (50 marks)

Design Project. i385f Special Topics in Information Architecture Instructor: Don Turnbull. Elias Tzoc

Data Acquisition using Mashup and 3-D Technology. Matt Rahr College of Agriculture and Life Sciences University of Arizona

HTML Summary. All of the following are containers. Structure. Italics Bold. Line Break. Horizontal Rule. Non-break (hard) space.

Overview. Part I: Portraying the Internet as a collection of online information systems HTML/XHTML & CSS

introduction to XHTML

Lecture 9 (more or less) Web Programming

HyperText Markup Language (HTML)

Web applications Developing Android/Iphone Applications using WebGUI

Creating Interactive Dashboard with Pentaho AJAX James, Chief Geek, Pentaho

Create a cool image gallery using CSS visibility and positioning property

Google API Integration

Title: Dec 11 3:40 PM (1 of 11)

GIMP WEB 2.0 MENUS. Before we begin this tutorial let s visually compare a standard navigation bar and a web 2.0 navigation bar.

Vebra Search Integration Guide

Implementing a chat button on TECHNICAL PAPER

Leaflet Tips and Tricks

Computer Science E-1. Understanding Computers and the Internet. Lecture 10: Website Development Wednesday, 29 November 2006

Aggregating services. Christoffer Björkskog. Helsinki February 13, 2008 Master s Thesis Chapter UNIVERSITY OF HELSINKI Department of Computer Science

The Google Wave APIs. David Mark Byttow June 5th, 2009

Recall: Document Object Model (DOM)

Phoogle the Web Google s Approach of Spatial Data Visualisation

HTML5 An Introduction

XHTML & CSS CASCADING STYLE SHEETS

CP3343 Computer Science Project (Year) Technical Report Document. Mr Stephen Garner

Internet publishing HTML (XHTML) language. Petr Zámostný room: A-72a phone.:

Micronet International College

Headings: Application programming interfaces. Geographic information systems. Maps / Internet resources. JavaScript (Computer language)

How the Internet Works

Exam Format: Multiple Choice, True/False, Short Answer (3 points each 75 points total) Write-the-page (25 points)

CSC Javascript

Announcements. Paper due this Wednesday

IMY 110 Theme 11 HTML Frames

HTML HTML. Chris Seddon CRS Enterprises Ltd 1

Lake Superior MapBuilder Demo Mapping Mashup Workshop Minnesota GIS/LIS Conference Duluth, Minnesota October 21, 2009

CHAPTER 2 MARKUP LANGUAGES: XHTML 1.0

Upper Lake Michigan MapBuilder Demo GLOS Mapping Workshop Traverse City, Michigan November 11, 2009

A designers guide to creating & editing templates in EzPz

Here are a few easy steps to create a simple timeline. Open up your favorite text or HTML editor and start creating an HTML file.

Project 3 CIS 408 Internet Computing

LA TROBE UNIVERSITY SEMESTER ONE EXAMINATION PERIOD CAMPUS AW BE BU MI SH ALLOWABLE MATERIALS

CSI 3140 WWW Structures, Techniques and Standards

Yandex.Widgets Quick start

CMPT 165 Unit 2 Markup Part 2

Hoster: openload.co - Free PLUGIN_DEFECT-Error: 08d a1830b60ab13ddec9a2ff6

CMPT 165 Notes on HTML5

CS134 Web Site Design & Development. Quiz1

Programmazione Web a.a. 2017/2018 HTML5

Contents. Demos folder: Demos\14-Ajax. 1. Overview of Ajax. 2. Using Ajax directly. 3. jquery and Ajax. 4. Consuming RESTful services

CSI 3140 WWW Structures, Techniques and Standards. Markup Languages: XHTML 1.0

HTML. HTML Evolution

Tableau in Dojo Nested TabContainer

AJAX COMPONENTS. Imperative Components CHAPTER 4

Ajax. David Matuszek's presentation,

Brief Introduction to ITU-T H.762 (LIME)

Oracle Application Express Plug-in for Ajax Maps: Map Integration the Easy Way

Notes General. IS 651: Distributed Systems 1

Wireframe :: tistory wireframe tistory.

ADITION HTML5 clicktag

Simplify Web 2.0 with IBM Rational EGL Community Edition

Arc en Ciel Ltd. Gazetteer Webservice FactSheet

Development of an Interactive, Hands-on Learning Experience of the Google Maps API

Dreamweaver: Portfolio Site

Lab 4 CSS CISC1600, Spring 2012


Chapter 4: The page as an application

Week 1 - Overview of HTML and Introduction to JavaScript

</title><meta http-equiv="content-type" content="text/html; charset=utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />

django-sekizai Documentation

XAP: extensible Ajax Platform

I Can t Believe It s Not

IAT 355 : Lab 01. Web Basics

CIS 228 (Fall 2011) Exam 2, 11/3/11

FRIX-Traffic Analyzer And Transportation Assistant

Designing and Developing a Website. December Sample Exam Marking Scheme

Tutorial 1 Getting Started with HTML5. HTML, CSS, and Dynamic HTML 5 TH EDITION

Introduction to Web Development

Final Examination CIS 228: The Internet Prof. St. John Lehman College City University of New York 18 December 2008

1061SMAP12 TLMXM1A (8648) (M2143) (Fall 2017) (MIS MBA) (2 Credits, Elective) [Full English Course] Fri 8,9 (15:10-17:00) B206

Responsive Web Design (RWD)

Chapter 2 HTML and CSS

Technoparkstrasse Zürich. Tel.: 044 / Fax.: 044 / GeoShop Mapping API. Abstract

Lose Yourself in Map Services (Google, Microsoft, Yahoo, MapQuest) Luke Sankey 28 November 2006 / CSCI 7818: Web Services

History of the Internet. The Internet - A Huge Virtual Network. Global Information Infrastructure. Client Server Network Connectivity

Shane Gellerman 10/17/11 LIS488 Assignment 3

Introduction to DHTML

Web Development & Design Foundations with XHTML. Chapter 2 Key Concepts

Computer Science E-75 Building Dynamic Websites

Transcription:

map1.html 1/1 3: map1.html 5: Demonstrates a "hello, world" of maps. 7: Computer Science E-75 8: David J. Malan 9: 10: --> 1 13: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 1 "http://www.w3.org/tr/xhtml1/dtd/xhtml1-strict.dtd"> 15: 1 <html xmlns="http://www.w3.org/1999/xhtml"> 17: <head> 18: <script src="http://maps.google.com/maps?file=api&v=2&key=abqiaaaa8igyd929vtmoemlnjnyp1xsezimnltbhqux6d 19: <script type="text/javascript"> 20: //<![CDATA[ 21: 2 function load() 23: { 2 if (GBrowserIsCompatible()) 2 var map = new GMap2(document.getElementById("map")); 27: map.setcenter(new GLatLng(37.4419, -122.1419), 13); 28: } 29: } 30: 31: //]]> 3 </script> 33: <title></title> 3 </head> 35: <body onload="load()" onunload="gunload()"> 3 <div id="map" style="width: 800px; height: 500px"></div> 37: </body> 38: </html> 39:

map2.html 1/1 3: map2.html 5: Demonstrates map that fills the viewport using CSS. 7: Computer Science E-75 8: David J. Malan 9: 10: --> 1 13: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 1 "http://www.w3.org/tr/xhtml1/dtd/xhtml1-strict.dtd"> 15: 1 <html xmlns="http://www.w3.org/1999/xhtml" style="height: 100%;"> 17: <head> 18: <script src="http://maps.google.com/maps?file=api&v=2&key=abqiaaaa8igyd929vtmoemlnjnyp1xsezimnltbhqux6d 19: <script type="text/javascript"> 20: //<![CDATA[ 21: 2 function load() 23: { 2 if (GBrowserIsCompatible()) 2 var map = new GMap2(document.getElementById("map")); 27: map.setcenter(new GLatLng(37.4419, -122.1419), 13); 28: } 29: } 30: 31: //]]> 3 </script> 33: <title></title> 3 </head> 35: <body onload="load()" onunload="gunload()" style="height: 100%; margin: 0px;"> 3 <div id="map" style="height: 100%; width: 100%;"></div> 37: </body> 38: </html> 39:

map3.html 1/2 3: map3.html 5: Demonstrates map with controls. 7: Computer Science E-75 8: David J. Malan 9: 10: --> 1 13: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 1 "http://www.w3.org/tr/xhtml1/dtd/xhtml1-strict.dtd"> 15: 1 <html xmlns="http://www.w3.org/1999/xhtml" style="height: 100%;"> 17: <head> 18: <script src="http://maps.google.com/maps?file=api&v=2&key=abqiaaaa8igyd929vtmoemlnjnyp1xsezimnltbhqux6d 19: <script type="text/javascript"> 20: //<![CDATA[ 21: 2 function load() 23: { 2 if (GBrowserIsCompatible()) 2 // instantiate map 27: var map = new GMap2(document.getElementById("map")); 28: 29: // center map on Science Center 30: map.setcenter(new GLatLng(42.376649, -71.115789), 13); 31: 3 // add control using a local variable 33: var typecontrol = new GMapTypeControl(); 3 map.addcontrol(typecontrol); 35: 3 // add another control without using a local variable 37: map.addcontrol(new GLargeMapControl()); 38: 39: // enable scroll wheel and smooth zooming 40: map.enablescrollwheelzoom(); 41: map.enablecontinuouszoom(); 4 } 43: } 4 45: //]]> 4 </script>

map3.html 2/2 47: <title></title> 48: </head> 49: <body onload="load()" onunload="gunload()" style="height: 100%; margin: 0px;"> 50: <div id="map" style="height: 100%; width: 100%;"></div> 51: </body> 5 </html> 53:

map4.html 1/2 3: map4.html 5: Demonstrates map with marker and info window. 7: Computer Science E-75 8: David J. Malan 9: 10: --> 1 13: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 1 "http://www.w3.org/tr/xhtml1/dtd/xhtml1-strict.dtd"> 15: 1 <html xmlns="http://www.w3.org/1999/xhtml" style="height: 100%;"> 17: <head> 18: <script src="http://maps.google.com/maps?file=api&v=2&key=abqiaaaa8igyd929vtmoemlnjnyp1xsezimnltbhqux6d 19: <script type="text/javascript"> 20: //<![CDATA[ 21: 2 function load() 23: { 2 if (GBrowserIsCompatible()) 2 // instantiate map 27: var map = new GMap2(document.getElementById("map")); 28: 29: // prepare point 30: var point = new GLatLng(42.376649, -71.115789); 31: 3 // center map on Science Center 33: map.setcenter(point, 13); 3 35: // mark Science Center 3 var marker = new GMarker(point); 37: map.addoverlay(marker); 38: 39: // associate info window with marker 40: GEvent.addListener(marker, "click", function() { 41: 4 // prepare XHTML 43: var xhtml = "<b>science Center</b>"; 4 xhtml += "<br /><br />"; 45: xhtml += "<a href= http://en.wikipedia.org/wiki/harvard_science_center target= _blank >"; 4 xhtml += "http://en.wikipedia.org/wiki/harvard_science_center";

map4.html 2/2 47: xhtml += "</a>"; 48: 49: // open info window 50: map.openinfowindowhtml(point, xhtml); 51: 5 }); 53: 5 } 55: } 5 57: //]]> 58: </script> 59: <title></title> 60: </head> 61: <body onload="load()" onunload="gunload()" style="height: 100%; margin: 0px;"> 6 <div id="map" style="height: 100%; width: 100%;"></div> 63: </body> 6 </html> 65:

map5.html 1/2 3: map5.html 5: Demonstrates map with marker and info window. 7: Also demonstrates Ajax via Google s GXmlHttp factory. 8: 9: Computer Science E-75 10: David J. Malan 1 --> 13: 1 15: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 1 "http://www.w3.org/tr/xhtml1/dtd/xhtml1-strict.dtd"> 17: 18: <html xmlns="http://www.w3.org/1999/xhtml" style="height: 100%;"> 19: <head> 20: <script src="http://maps.google.com/maps?file=api&v=2&key=abqiaaaa8igyd929vtmoemlnjnyp1xsezimnltbhqux6d 21: <script type="text/javascript"> 2 //<![CDATA[ 23: 2 function load() 2 if (GBrowserIsCompatible()) 27: { 28: // instantiate map 29: var map = new GMap2(document.getElementById("map")); 30: 31: // prepare point 3 var point = new GLatLng(37.4419, -122.1419); 33: 3 // center map on Science Center 35: map.setcenter(point, 13); 3 37: // mark Science Center 38: var marker = new GMarker(point); 39: map.addoverlay(marker); 40: 41: // associate info window with marker 4 GEvent.addListener(marker, "click", function() { 43: 4 // prepare Ajax call 45: var request = GXmlHttp.create(); 4 request.open("get", "quote3.php?symbols=goog", true);

map5.html 2/2 47: request.onreadystatechange = function() { 48: 49: // only handle successful calls 50: if (request.readystate == 4 && request.status == 200) 51: { 5 // prepare XHTML 53: var xhtml = "<b>google</b>"; 5 xhtml += "<br /><br />"; 55: 5 // get Google s quote 57: var quote = request.responsexml.getelementsbytagname("quote")[0]; 58: 59: // get Google s price 60: var price = quote.getelementsbytagname("price")[0].firstchild.nodevalue; 61: 6 // report price 63: xhtml += "$" + price; 6 65: // open info window 6 map.openinfowindowhtml(point, xhtml); 67: } 68: }; 69: 70: // get quote 71: request.send(null); 7 73: }); 7 75: } 7 } 77: 78: //]]> 79: </script> 80: <title></title> 81: </head> 8 <body onload="load()" onunload="gunload()" style="height: 100%; margin: 0px;"> 83: <div id="map" style="height: 100%; width: 100%;"></div> 8 </body> 85: </html> 8