Hacking Google Maps and Google Earth (ExtremeTech)
Chapter 11 — Building a Community Site 215 The references used here for the offsets are probably a little generous, but the spac ...
216 Part III — Google Map Hacks var map; var index = 0; var markindex = 0; var types = []; var markers = []; var infopanel; var ...
Chapter 11 — Building a Community Site 217 Loading a List of Types The showentitylist()function loads the XML from the backend C ...
218 Part III — Google Map Hacks The function also triggers the info panel to open. The XML for the marker is loaded from the XML ...
Chapter 11 — Building a Community Site 219 ‘<a href=”#” onClick=”movemap(‘ + index + ‘,’ + index + ‘);”>’ + title + ‘’; ma ...
220 Part III — Google Map Hacks Now, for each marker the addmarker()function is called to create the marker with the cus- tom ic ...
Chapter 11 — Building a Community Site 221 var newlng = lngpoints[0] + ((lngpoints[lngpoints.length-1] - ; lngpoints[0])/2); var ...
222 Part III — Google Map Hacks Final Application The final application provides a simple method for adding entities to the map ...
Chapter 11 — Building a Community Site 223 FIGURE11-4: The zoomed-in application. FIGURE11-5: Adding more icons. ...
224 Part III — Google Map Hacks FIGURE11-6: Hiding existing icons. FIGURE11-7: Info panels are still available. ...
Chapter 11 — Building a Community Site 225 Wrapping Up Providing different layers of information is an effective way to stack yo ...
...
The Realtors and Archaeologists Toolkit S ometimes the maps you create are less about information, statistics, or features that ...
228 Part III — Google Map Hacks Although you can introduce any image as a marker, generating that image is not something that ca ...
Chapter 12: The Realtors and Archaeologists Toolkit Basic TLabel Creation To use TLabel, copy the TLabel javascriptfile from the ...
230 Part III — Google Map Hacks Table 12-1 (continued) Property Required Description anchorPoint No The point on the label that ...
Chapter 12 — The Realtors and Archaeologists Toolkit 231 From Figure 12-2 you can see that the anchor point remains as the point ...
232 Part III — Google Map Hacks However, the effect is more dramatic. An embedded image in a TLabelworks in the same way as a te ...
Chapter 12 — The Realtors and Archaeologists Toolkit 233 var mapcontrols; var lastpoint; var objectfinds = []; var trenchs = []; ...
234 Part III — Google Map Hacks The function gets the reference to the text box that will be used to populate the label and sets ...
«
8
9
10
11
12
13
14
15
16
17
»
Free download pdf