27.10.2014 Views

Google Maps API 3

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

•INDEX<br />

streetViewControl, 59—61<br />

UTF-8 charset, 28<br />

•V<br />

v parameter, query string<br />

determining version of <strong>API</strong> to load, 10<br />

validation<br />

Html Validator tool, 27<br />

HTML validator, W3C, 24—26<br />

Page Validator tool, 27<br />

Web Developer Toolbar tool, 27<br />

var keyword, JavaScript, 32, 33<br />

variables, global, 7<br />

variables, JavaScript, 32—33<br />

booleans, 33<br />

loose typing, 32<br />

numbers, 33<br />

storing functions inside variables, 35<br />

strings, 33<br />

when variables are called properties, 36<br />

versions<br />

converting from v2 to v3, 9—20<br />

adding reference to <strong>API</strong>, 9—10<br />

creating maps, 10—12<br />

events, 19—20<br />

InfoWindow objects, 14—16<br />

markers, 12—14<br />

polygons, 17—19<br />

polylines, 16—17<br />

determining version of <strong>API</strong> to load, 10<br />

differences between v2 and v3, 7—9<br />

transferring from v2 to v3, 7<br />

video<br />

inserting in InfoWindow, 142—145<br />

inserting using HTML5, 139—142<br />

supported formats, 141<br />

video element, HTML5, 140—141<br />

video formats, 141<br />

viewport property, GeocoderGeometry,<br />

271<br />

viewports<br />

automatically adjusting to fit all<br />

markers, 95—98<br />

generating markers within current<br />

viewport, 183, 185—186<br />

LatLngBounds object, 96<br />

rendering only markers within current<br />

viewport, 195<br />

visibility<br />

getVisible method, 256<br />

setVisible method, 257<br />

visible property, MarkerOptions, 259<br />

visible_changed event, Marker, 258<br />

•W<br />

W3C HTML validator, 24—26<br />

wait cursor, 62<br />

web address for <strong>Google</strong> <strong>Maps</strong> <strong>API</strong><br />

reference, 243<br />

web browsers<br />

setting up web page, 23<br />

Web Developer Toolbar tool, 27<br />

web pages<br />

body element, HTML, 28<br />

building address lookup web page, 212—<br />

222<br />

compliant HTML templates, 29<br />

creating <strong>Google</strong> <strong>Maps</strong> page, 23<br />

div element, HTML, 28<br />

doctype declaration, 28<br />

head section, HTML, 28<br />

including JavaScript file in, 31<br />

index.html file, 27<br />

inserting reference to <strong>Google</strong> <strong>Maps</strong> <strong>API</strong>,<br />

30<br />

making code run on Page Load, 40—41<br />

setting up, 23<br />

HTML file, 23<br />

309

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!