Skip to content

Instantly share code, notes, and snippets.

@pbcj
Created March 24, 2011 22:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pbcj/886025 to your computer and use it in GitHub Desktop.
Save pbcj/886025 to your computer and use it in GitHub Desktop.
html js mess
<div id="map_yOQ-y0FlPp3Mt9rdh8KNLw" style="height: 400px; width: 100%"></div><script type="text/javascript">
google.setOnLoadCallback( function() {
var mapId = "yOQ-y0FlPp3Mt9rdh8KNLw";
var mapUrl = "/home/map-test";
var element = document.getElementById("map_" + mapId);
var map = new GMap2( element );
element.mapObject = map;
map.url = mapUrl;
map.assetId = mapId;
map.setCenter(new GLatLng(42.6178, -87.9895), 7);
map.setUIToDefault();
map.extrasUrl = "/extras/";
var markermanager = new MarkerManager(map, {trackMarkers: true});
map.markermanager = markermanager;
map.fancyClickHandler = null;
map.panOnClick = true;
map.clickToEdit = false;
var points = [];
points.push({"userDefined4":null,"longitude":"-91.77978515625","userDefined5":null,"content":"\t<div class=\"wg_mapPoint\">\r\n\t\teven newer point!!<br/>\r\n\t\tWheee description! Wheee description! Wheee description! Wheee<br/>\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\tUnited States<br/>\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\r\n<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" lang=\"en\">\r\n<head>\r\n\r\n<title>Welcome - My Company</title>\r\n\r\n<link rel=\"stylesheet\" type=\"text/css\" href=\"/style-underground/css/underground.css\" />\r\n<link rel=\"stylesheet\" type=\"text/css\" href=\"/style-underground/css/underground-webgui.css\" />\r\n\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" /><meta name=\"generator\" content=\"WebGUI 7.10.10\" /><meta http-equiv=\"Content-Script-Type\" content=\"text/javascript\" /><meta http-equiv=\"Content-Style-Type\" content=\"text/css\" /><script type=\"text/javascript\">function getWebguiProperty (propName) {var props = new Array();props[\"extrasURL\"] = \"/extras/\";props[\"pageURL\"] = \"/home\";props[\"firstDayOfWeek\"] = \"0\";return props[propName];}</script><meta http-equiv=\"Pragma\" content=\"no-cache\" /><meta http-equiv=\"Cache-Control\" content=\"no-cache, must-revalidate, max-age=0, private\" /><meta http-equiv=\"Expires\" content=\"0\" />\r\n</head>\r\n\r\n<body>\r\n\r\n<!-- wrap starts here -->\r\n<div id=\"wrap\">\r\n\r\n\t\t<div id=\"header-logo\">\t\t\t\r\n\t\t\t\r\n\t\t\t<div id=\"logo\">your<span class=\"red\">name</span></div>\t\t\r\n\t\t\t\r\n\t\t\t<form method=\"post\" class=\"search\" action=\"/style-underground/search\">\r\n\t\t\t\t<p><input name=\"search_query\" class=\"textbox\" type=\"text\" />\r\n \t\t\t\t<input name=\"search\" class=\"searchbutton\" value=\"Search\" type=\"submit\" /></p>\r\n\t\t\t</form>\r\n\t\t\t\t\t\t\r\n\t\t</div>\r\n\r\n\t<div id=\"sidebar\">\r\n\t\t\t\t\t\r\n\t\t\t<h1>Home</h1>\r\n\t\t\t<div class=\"left-box\">\r\n\t\t\t\t<ul class=\"sidemenu\">\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\t\t<li><a href=\"/getting_started\">Getting Started</a></li>\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\t\t<li><a href=\"/your_next_step\">Your Next Step</a></li>\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\t\t<li><a href=\"/documentation\">Documentation</a></li>\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\t\t<li><a href=\"/join_us\">Join Us</a></li>\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\t\t<li><a href=\"/site_map\">Site Map</a></li>\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\t\t<li><a href=\"/home/have-thingy\">Have Thingy</a></li>\r\n\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t</ul>\t\r\n\t\t\t</div>\r\n\t\t\t\r\n\r\n\t\t<h1>Hello, chris</h1>\r\n\t\t<div class=\"left-box\">\r\n\t\t\t<ul class=\"sidemenu\">\r\n\t\t\t\t<li><a class=\"loginToggleLink\" href=\"/home?op=auth;method=logout\">Logout</a></li>\r\n\t\t\t\t<li><a href=\"/home?op=auth;method=init\">View My Account</a></li>\r\n\t\t\t\t<li><a href=\"/home?op=switchOnAdmin\">Turn Admin On!</a></li>\r\n\t\t\t</ul>\r\n\t\t</div>\r\n\t\t<h1>WebGUI Links</h1>\t\r\n\t\t<div class=\"left-box\">\r\n\t\t\t<ul class=\"sidemenu\"><li><a href=\"http://webgui.org/addons\">Addons and Plugins</a></li></ul>\r\n\t\t</div>\t\r\n\t</div>\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t<div id=\"main\"><div class=\"wgThingy\">\r\n\t\r\n\r\n\t\r\n\t\t<h2 class=\"title\">something</h2>\r\n\t\t\t\r\n\r\n\t\r\n\t\r\n\t<div class=\"controls\">\r\n\t\t\r\n\t\t\t<a href=\"/home/have-thingy/something?func=manage\" class=\"styleButton\">Manage Things</a>\t\t\t\r\n\t\t\r\n\t\t\r\n\t\t\t<a href=\"/home/have-thingy/something?func=editThingData;thingId=hpxi0WBVZBM6IP8gHjM3_A;thingDataId=6\" class=\"styleButton\">Edit</a>\r\n\t\t\r\n\t\t\r\n\t\t\t<a href=\"/home/have-thingy/something?func=deleteThingDataConfirm;thingId=hpxi0WBVZBM6IP8gHjM3_A;thingDataId=6\" onclick=\"return confirm('Are you sure you want to delete this thing? This is not versioned and cannot be undone.')\" class=\"styleButton\">Delete</a>\r\n\t\t\r\n\t\t\r\n\t\t\t<a href=\"/home/have-thingy/something?func=search;thingId=hpxi0WBVZBM6IP8gHjM3_A\" class=\"styleButton\">Search tribulations</a>\r\n\t\t\r\n\t\t\r\n\t\t\t<a href=\"/home/have-thingy/something?func=editThingData;thingId=hpxi0WBVZBM6IP8gHjM3_A;thingDataId=new\" class=\"styleButton\">Add tribulations</a>\r\n\t\t\r\n\t\t\t\t\t\r\n\t\t\t<div id=\"thingyList\">\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t<a href=\"javascript:showHide('vblMbApa5VkuuuafQ3wl8g_things')\" class=\"goButton\">tribulations</a>\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t<div id=\"vblMbApa5VkuuuafQ3wl8g_things\" style=\"display:none\" class=\"things\">\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t</div>\t\t\t\t\r\n\t\t\t</div>\t\t\t\t\r\n\t\t\r\n\t\t<div style=\"clear:both\"></div>\r\n\t</div>\r\n\t\r\n\t\r\n\r\n</div>\n</div>\t\t\t\r\n<!-- wrap ends here -->\r\n</div>\r\n\t\t\r\n<!-- footer starts here -->\r\n<div class=\"footer\">\r\n\t\r\n\t<p>\t\r\n\t&copy; 2006 <strong>My Company</strong> &nbsp;&nbsp;\t\r\n\tDesign by: <a href=\"http://www.styleshout.com/\">styleshout</a> |\r\n\tValid <a href=\"http://validator.w3.org/check/referer\">XHTML</a> |\r\n \t<a href=\"http://jigsaw.w3.org/css-validator/check/referer\">CSS</a>\r\n\t&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n\t<!-- bottom nav -->\t\t\t\t\r\n\t</p>\r\n\t\t\r\n</div>\t\r\n\t\r\n</body>\r\n</html>\r\n\r\n\t</div>\t\r\n\r\n","isGeocoded":"0","userDefined3":null,"userDefined2":"","latitude":"41.894099558114","url":"/home/map-test/even-newer-point-","assetId":"keRiMQisMAIRUnM6ANBLNw","userDefined1":"/home/have-thingy/something?func=viewThingData;thingId=hpxi0WBVZBM6IP8gHjM3_A;thingDataId=wfNaozCmCs7Iz-esQCtccg","title":"even newer point!!","canEdit":1});
points.push({"userDefined4":null,"longitude":"-84.4189453125","userDefined5":null,"content":"\t<div class=\"wg_mapPoint\">\r\n\t\tno info url<br/>\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\tmadison,\r\n\t\twi\r\n\t\t53719<br/>\r\n\t\tUnited States<br/>\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\r\n\t</div>\t\r\n\r\n","isGeocoded":"0","userDefined3":null,"userDefined2":null,"latitude":"47.7540969848633","url":"/home/map-test/no-info-url","assetId":"VH3cjW3-cBPkvVgO-9sEQg","userDefined1":"","title":"no info url","canEdit":1});
points.push({"userDefined4":"","longitude":"-89.384765625","userDefined5":"","content":"\t<div class=\"wg_mapPoint\">\r\n\t\tPoint with Thingy URL!<br/>\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\tUnited States<br/>\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\r\n<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" lang=\"en\">\r\n<head>\r\n\r\n<title>Welcome - My Company</title>\r\n\r\n<link rel=\"stylesheet\" type=\"text/css\" href=\"/style-underground/css/underground.css\" />\r\n<link rel=\"stylesheet\" type=\"text/css\" href=\"/style-underground/css/underground-webgui.css\" />\r\n\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" /><meta name=\"generator\" content=\"WebGUI 7.10.10\" /><meta http-equiv=\"Content-Script-Type\" content=\"text/javascript\" /><meta http-equiv=\"Content-Style-Type\" content=\"text/css\" /><script type=\"text/javascript\">function getWebguiProperty (propName) {var props = new Array();props[\"extrasURL\"] = \"/extras/\";props[\"pageURL\"] = \"/home\";props[\"firstDayOfWeek\"] = \"0\";return props[propName];}</script><meta http-equiv=\"Pragma\" content=\"no-cache\" /><meta http-equiv=\"Cache-Control\" content=\"no-cache, must-revalidate, max-age=0, private\" /><meta http-equiv=\"Expires\" content=\"0\" />\r\n</head>\r\n\r\n<body>\r\n\r\n<!-- wrap starts here -->\r\n<div id=\"wrap\">\r\n\r\n\t\t<div id=\"header-logo\">\t\t\t\r\n\t\t\t\r\n\t\t\t<div id=\"logo\">your<span class=\"red\">name</span></div>\t\t\r\n\t\t\t\r\n\t\t\t<form method=\"post\" class=\"search\" action=\"/style-underground/search\">\r\n\t\t\t\t<p><input name=\"search_query\" class=\"textbox\" type=\"text\" />\r\n \t\t\t\t<input name=\"search\" class=\"searchbutton\" value=\"Search\" type=\"submit\" /></p>\r\n\t\t\t</form>\r\n\t\t\t\t\t\t\r\n\t\t</div>\r\n\r\n\t<div id=\"sidebar\">\r\n\t\t\t\t\t\r\n\t\t\t<h1>Home</h1>\r\n\t\t\t<div class=\"left-box\">\r\n\t\t\t\t<ul class=\"sidemenu\">\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\t\t<li><a href=\"/getting_started\">Getting Started</a></li>\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\t\t<li><a href=\"/your_next_step\">Your Next Step</a></li>\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\t\t<li><a href=\"/documentation\">Documentation</a></li>\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\t\t<li><a href=\"/join_us\">Join Us</a></li>\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\t\t<li><a href=\"/site_map\">Site Map</a></li>\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\t\t<li><a href=\"/home/have-thingy\">Have Thingy</a></li>\r\n\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t</ul>\t\r\n\t\t\t</div>\r\n\t\t\t\r\n\r\n\t\t<h1>Hello, chris</h1>\r\n\t\t<div class=\"left-box\">\r\n\t\t\t<ul class=\"sidemenu\">\r\n\t\t\t\t<li><a class=\"loginToggleLink\" href=\"/home?op=auth;method=logout\">Logout</a></li>\r\n\t\t\t\t<li><a href=\"/home?op=auth;method=init\">View My Account</a></li>\r\n\t\t\t\t<li><a href=\"/home?op=switchOnAdmin\">Turn Admin On!</a></li>\r\n\t\t\t</ul>\r\n\t\t</div>\r\n\t\t<h1>WebGUI Links</h1>\t\r\n\t\t<div class=\"left-box\">\r\n\t\t\t<ul class=\"sidemenu\"><li><a href=\"http://webgui.org/addons\">Addons and Plugins</a></li></ul>\r\n\t\t</div>\t\r\n\t</div>\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t<div id=\"main\"><div class=\"wgThingy\">\r\n\t\r\n\r\n\t\r\n\t\t<h2 class=\"title\">something</h2>\r\n\t\t\t\r\n\r\n\t\r\n\t\r\n\t<div class=\"controls\">\r\n\t\t\r\n\t\t\t<a href=\"/home/have-thingy/something?func=manage\" class=\"styleButton\">Manage Things</a>\t\t\t\r\n\t\t\r\n\t\t\r\n\t\t\t<a href=\"/home/have-thingy/something?func=editThingData;thingId=hpxi0WBVZBM6IP8gHjM3_A;thingDataId=6\" class=\"styleButton\">Edit</a>\r\n\t\t\r\n\t\t\r\n\t\t\t<a href=\"/home/have-thingy/something?func=deleteThingDataConfirm;thingId=hpxi0WBVZBM6IP8gHjM3_A;thingDataId=6\" onclick=\"return confirm('Are you sure you want to delete this thing? This is not versioned and cannot be undone.')\" class=\"styleButton\">Delete</a>\r\n\t\t\r\n\t\t\r\n\t\t\t<a href=\"/home/have-thingy/something?func=search;thingId=hpxi0WBVZBM6IP8gHjM3_A\" class=\"styleButton\">Search tribulations</a>\r\n\t\t\r\n\t\t\r\n\t\t\t<a href=\"/home/have-thingy/something?func=editThingData;thingId=hpxi0WBVZBM6IP8gHjM3_A;thingDataId=new\" class=\"styleButton\">Add tribulations</a>\r\n\t\t\r\n\t\t\t\t\t\r\n\t\t\t<div id=\"thingyList\">\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t<a href=\"javascript:showHide('vblMbApa5VkuuuafQ3wl8g_things')\" class=\"goButton\">tribulations</a>\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t<div id=\"vblMbApa5VkuuuafQ3wl8g_things\" style=\"display:none\" class=\"things\">\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t</div>\t\t\t\t\r\n\t\t\t</div>\t\t\t\t\r\n\t\t\r\n\t\t<div style=\"clear:both\"></div>\r\n\t</div>\r\n\t\r\n\t\r\n\r\n</div>\n</div>\t\t\t\r\n<!-- wrap ends here -->\r\n</div>\r\n\t\t\r\n<!-- footer starts here -->\r\n<div class=\"footer\">\r\n\t\r\n\t<p>\t\r\n\t&copy; 2006 <strong>My Company</strong> &nbsp;&nbsp;\t\r\n\tDesign by: <a href=\"http://www.styleshout.com/\">styleshout</a> |\r\n\tValid <a href=\"http://validator.w3.org/check/referer\">XHTML</a> |\r\n \t<a href=\"http://jigsaw.w3.org/css-validator/check/referer\">CSS</a>\r\n\t&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n\t<!-- bottom nav -->\t\t\t\t\r\n\t</p>\r\n\t\t\r\n</div>\t\r\n\t\r\n</body>\r\n</html>\r\n\r\n\t</div>\t\r\n\r\n","isGeocoded":"0","userDefined3":"","userDefined2":"","latitude":"43.0688877741696","url":"/home/map-test/point-with-thingy-url-","assetId":"cApOLpixnG58z0ds1mFFjQ","userDefined1":"/home/have-thingy/something?func=viewThingData;thingId=hpxi0WBVZBM6IP8gHjM3_A;thingDataId=Ur5GziHDPeehA5auzslQSQ","title":"Point with Thingy URL!","canEdit":1});
points.push({"userDefined4":null,"longitude":"-89.0216644","userDefined5":null,"content":"\t<div class=\"wg_mapPoint\">\r\n\t\tFrank's House<br/>\r\n\t\tThis is where Frank Lives<br/>\r\n\t\t723 W Burbank Ave<br/>\r\n\t\t\r\n\t\tJanesville,\r\n\t\tWI\r\n\t\t53546<br/>\r\n\t\tUnited States<br/>\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\r\n\t</div>\t\r\n\r\n","isGeocoded":"1","userDefined3":null,"userDefined2":"template","latitude":"42.6459337","url":"/home/map-test/frank-s-house","assetId":"h51rbx5jWQHEryxuP1k-lw","userDefined1":"","title":"Frank's House","canEdit":1});
points.push({"userDefined4":null,"longitude":"-84.5120196","userDefined5":null,"content":"\t<div class=\"wg_mapPoint\">\r\n\t\ttest point<br/>\r\n\t\tshort description<br/>\r\n\t\t\r\n\t\t\r\n\t\tCincinnati,\r\n\t\tOhio\r\n\t\t<br/>\r\n\t\tUnited States<br/>\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\r\n\t</div>\t\r\n\r\n","isGeocoded":"1","userDefined3":null,"userDefined2":null,"latitude":"39.1031182","url":"/home/map-test/test-point","assetId":"B8BbvxR8UkgPmxqs01CpLw","userDefined1":"","title":"test point","canEdit":1});
points.push({"userDefined4":null,"longitude":"-78.4766781","userDefined5":null,"content":"\t<div class=\"wg_mapPoint\">\r\n\t\tCharlottesville<br/>\r\n\t\tdescription\r\n\r\n\r\n\r\n\r\nmore text\r\n\r\n<br/>\r\n\t\t\r\n\t\t\r\n\t\tCharlottesville,\r\n\t\tVirginia\r\n\t\t<br/>\r\n\t\tUnited States<br/>\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\r\n\t</div>\t\r\n\r\n","isGeocoded":"1","userDefined3":null,"userDefined2":null,"latitude":"38.0293059","url":"/home/map-test/charlottesville","assetId":"lzUY6k_QnmHTg1dvyf18VA","userDefined1":"","title":"Charlottesville","canEdit":1});
points.push({"userDefined4":null,"longitude":"144.963937","userDefined5":null,"content":"\t<div class=\"wg_mapPoint\">\r\n\t\tMelbourne, a city in a tension with its self, Australia, The World, Long title<br/>\r\n\t\t<b> How did Melbourne come to be? </b> How did it become a city of such variable qualities—still distinctly liveable, but nevertheless heading towards being unsustainable? Melbourne has a strikingly-diverse multicultural population of around four million people, but this is founded on an Anglo-European heritage that, until the 1960s, fiercely attacked multiculturalism as anathema to its cultural-political harmony. It has a densely urbanized and vibrant activities centre of high-rise buildings, restaurants, parks, and blue-stone footpaths. <b></b>\r\n<br>\r\n But its metropolitan footprint radiates outwards into a region of ever-stretching car-dependent suburbs, peri-urban zones of mixed use, and a hinterland of temperate dry-land farming where most of the trees have been cut down. It is a trading city with a global port, though its manufacturing base has steadily declined since the 1970s. It is the administrative and service centre for the south-east corner of Australia—and yet 90 per cent of traded imports stay in the metropolis. It is a city with a well-educated population, and one with a growing and sophisticated public consciousness about climate change, recycling and water consumption issues, and yet the city is becoming less sustainable.\r\n\r\nFor all the public sensitivity to ecological sustainability issues in Melbourne, resource-use and carbon emissions continue to grow, including land and energy consumption on a per capita basis. One of the few successes in this area has been a widely-supported political campaign to place legal restrictions on water-use. Nevertheless, a massive energy-intensive desalination plant is being built to supply freshwater to the city, and the entrance to bay on which the city sits has been dredged to allow ‘super-sized’ freight ships to import global commodities through Australia’s largest container port—both projects, paradoxically, are defended by the government in terms of environmental sustainability. At the same time as allowing these projects to go ahead with minimal critical response, Melbournians have become increasingly concerned to nurture life-style amenities, urban aesthetics, place-making activities, tourist-oriented events, and cafés. This mix of civic concern and complacency is symbolized by the way in which the city’s politicians and media respond to being consistently listed as one of the world’s most liveable cities. The city thrives on its self-perception (and uneven reality) of being extraordinarily liveable and prosperous, while, at the same time, the ‘liveability’ standing of the city has been slowly dropping and its social wealth has been increasingly privatized or ‘developed’ through public-private partnerships and wrapped in commercial-in-confidence contracts.\r\n\r\nMelbourne thus represents a series of mixed responses to dominant global processes. Historically, across the nineteenth century, it was similarly formed in response to a number of fundamental global processes. Given its place in the world and the time of its formation, this gave Melbourne some unusual characteristics that still inform the present. The key processes that formed Melbourne from its inception included the imperial colonization of ‘empty’ or ‘savage’ spaces, the globalization of trade in basic and precious commodities, and an increasing movement of people. Firstly, in the context of the British imperial project to settle Terra Australis, colonial efforts in the early-nineteenth century displaced the indigenous population. Regularizing the future shape of the township was accompanied by discriminatory and exclusionary relations with the numerous Aboriginal groups that had long-inhabited the area at the mouth of the Yarra River. In this context, land was seen as an empty open resource—terra nullius—and the topology they lay beneath the mapping of the region was treated largely incidental to its growth; hence the uncompromising imposition of a grid pattern onto the landscape. Secondly, Melbourne grew rapidly in the mid-nineteenth century after a series of gold rushes. In the 1850s, the hinterlands of Melbourne were producing a third of the world’s gold and the population of the area increased seven-fold. By the 1880s, Melbourne had become one of the richest cities in the world, the ‘Chicago of the South’. There was a massive flow of imports, and, concurrently, primary industries in the region, in particular wool growing, expanded greatly. Melbourne became a key global trading port. Thirdly, Melbourne was established as a city during the period of the great global migrations. Between 1870 and 1930, migration to Southeast Asia was comparable to the migration to the USA, usually seen as the centre of the great migrations. Migration from the so-called ‘Old World’ to the ‘New’ was therefore only part of the story. The whole world was on the move, and Melbourne became one locus of that movement among many. \r\n\r\nIn the twentieth century, Melbourne, was again responding to global economic trends, exploiting its own hinterlands agriculturally, while industrializing its metropolitan area. Together with Sydney, Melbourne was central to the industrialization of Australia. Melbourne attracted working-class immigrants from around the world, but particularly from southern Europe and the Balkans in the immediate post-war period, and then more recently from such areas as Southeast Asia in the aftermath of the Vietnam War and in the 1990s the Horn of Africa in the context of civil war there. Melbourne, like other major cities, became a global city that continues to attract significant numbers of migrants—although it should be said that it is different from large Southeast Asian cities to the extent that they tend to be the focus of internal migration while Melbourne is the end-point of international migration. The last four censuses show that between 90 per cent and 95 per cent of overseas migrants coming to Victoria settle in Melbourne. Permanent migrants from non-English speaking backgrounds tend to settle in lower-cost housing in outer areas, while temporary migrants such as international students and wealthier business-migrants from non-English speaking backgrounds tend to reside close to the city centre. Metropolitan Melbourne’s population is projected to increase by 1.8 million people between 2006 and 2036, growing to a population of 5.5 million by the mid-2030s. How did Melbourne develop into such a city, and what are some of the specific issues of sustainable development that confront it now? To answer this question, the essay first briefly contextualizes the history of Melbourne, and then maps the contemporary shape of the metropolis through four domains of social life: ecology, politics, culture, and economy.\r\n1.\tThis essay was written collaboratively drawing upon research done by others including Ifte Ahmed. The background work was done in response to critical input from Mary Lewin and the members of Metropolis Commission 2. The views presented in this essay however are not necessarily those of our collaborators on that Commission.\r\n2.\tThere are 3,995,000 in the Melbourne metropolitan area according to 2009 Australian Bureau of Statistics figures. Of those persons, 31 per cent were born outside of Australia and 27.9 per cent speak a language other than English at home (2006 Census).\r\n3.\tIn places the metropolitan area is close to 100 kilometres across.\r\n4.\tPrice Waterhouse Coopers, Economic Analysis of the Port of Melbourne, Department of Treasury and Finance and the Department of Infrastructure, Melbourne, 2007, while primarily a study of economic benefits, notes ‘a reduction in local air pollution and greenhouse gas emissions which would result from fewer total ships calls to the Port of Melbourne because larger ships could call at the port’ (p. 9).\r\n5.\tOn the two main indices, the Economist Intelligence Unit (third-ranked city globally in 2010, down from being first-ranked in 2003 and 2004) and the Mercer Quality of Living Survey (eighteenth-ranked city globally in 2010, down from equal twelfth-ranked in 2005). On the way in which this is interpreted see for example the commissioned report by Gerrard Bown, Liveability Report: Capitalizing on Melbourne’s Status as One of the World’s Most Liveable Cities, Committee for Melbourne, Melbourne, 2006.\r\n\r\n<br/>\r\n\t\t\r\n\t\t\r\n\t\tMelbourne,\r\n\t\tVictoria\r\n\t\t3000<br/>\r\n\t\tAustralia<br/>\r\n\t\t<a href=\"www.global-cities.info/contact\">www.global-cities.info/contact</a><br/>\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t<img src=\"\" />\r\n\r\n\t</div>\t\r\n\r\n","isGeocoded":"1","userDefined3":null,"userDefined2":null,"latitude":"-37.8152065","url":"/home/map-test/-b-melbourne-a-city-in-a-tension-with-its-self-australia-the-world-long-title-/b-","assetId":"GDrxIcP6KTDuWEO7u9aeAA","userDefined1":"","title":"Melbourne, a city in a tension with its self, Australia, The World, Long title","canEdit":1});
points.push({"userDefined4":"","longitude":"151.201728","userDefined5":"","content":"\t<div class=\"wg_mapPoint\">\r\n\t\tFeedback point: Sydney<br/>\r\n\t\tParts of the contracted work are complete, others still need some work. \r\n<br/>\r\nDefining our information requirements and providing mockups of proposed development were skipped, resulting in the main point of the map development being missed. In our initial discussions with Doug Bell we stated that user requirements should be defined before the work on the map functionality began, as it was a complex job which needed to integrate existing map point functionality and information sources. We were assured that mockups of the proposed development would be created to inform the business owners as to what they could expect. \r\n Our first enquiry outlined our needs and expectations <a href=\"https://www.plainblack.com/plain_black_support/12873\">https://www.plainblack.com/plain_black_support/12873 </a>. \r\n<br/>\r\nThe map development is meant to add to the sql functionality already present in the live map. It is not possible to do undertake conclusive testing without seeing how the new functionality interacts with the existing functionality and thingies. \r\n<br/>\r\nWe expect this initial development work now to be implemented in a test area of our existing site and to integrate information from the thingy at <a href=\"http://global-cities.info/projectdb\">http://global-cities.info/projectdb</a> with either the sql code from http://global-cities.info/home/map/map-templates/gci-map-point-view?func=edit listing projects from that location or an improved solution which results in a better integration of the thingy and the map. <br/>\r\nBelow are some gereral feedback points.\r\n<br/>\r\n\r\n<ol><li>\r\nLightbox generally works well. I like that the map doesn't jump around when you select a point.\r\n</li><li>\r\nAuto position is good. Does it work on postcode and country? or some other info?\r\n</li><li>\r\nNo accidental drag and drop = Good.\r\n</li><li>\r\nHow is this interacting with the thingy entry? One point shows an entire thingy interface in its info box, but we asked for a point to query location info stored in a thingy and dynamically presenting it in the lightbox space.\r\n</li><li>\r\nHow does this integrate with the sql code already present in our map, which dynamically lists all projects associated with a location? The existing code needs to be integrated. \r\n</li><li>\r\n No formatting (not even header!) Not good. Interprets html tags but our content editors don't speak html. Can we make the description field a rich text editor and pre-format output fields like header? \r\n</li><li>\r\ntesting browser size.... \r\nLarger quantity of text results in light box being quite wide, fixed width of around 600px? It needs to have an elastic width and vertical scroll for a small browser window: won't pass accessibility standards as is. \r\n</li><li> \r\nText is selectable and resizable = good\r\n</li><li>\r\nSpellcheck = good\r\n</li><li>\r\nIf people use the drop down location list it should open the location info bubble. Not very useful functionality currently.\r\n</li><li>\r\n Re. indexing of map points. Wasn't this going to make locations searchable? Searched for \"Sydney\" and nothing returned. \r\n</li>\r\n</ol>\r\n<br/>\r\n\t\t\r\n\t\t\r\n\t\tSydney,\r\n\t\tNSW\r\n\t\t2001<br/>\r\n\t\tAustralia<br/>\r\n\t\t<a href=\"http://devrmit.plainblack.net/home/have-thingy/something?func=viewThingData;thingId=hpxi0WBVZBM6IP8gHjM3_A;thingDataId=wfNaozCmCs7Iz-esQCtccg\">http://devrmit.plainblack.net/home/have-thingy/something?func=viewThingData;thingId=hpxi0WBVZBM6IP8gHjM3_A;thingDataId=wfNaozCmCs7Iz-esQCtccg</a><br/>\r\n\t\t\r\n\t\t\r\n\t\t<a href=\"mailto:info@global-cities.info\">info@global-cities.info<br/>\r\n\t\t<img src=\"\" />\r\n\r\n\t</div>\t\r\n\r\n","isGeocoded":"1","userDefined3":"","userDefined2":"","latitude":"-33.882953","url":"/home/map-test/feedback-point:-sydney","assetId":"AEp_vs_JhvFjxpR1cGWUxA","userDefined1":"","title":"Feedback point: Sydney","canEdit":1});
points.push({"userDefined4":null,"longitude":"-95.712891","userDefined5":null,"content":"\t<div class=\"wg_mapPoint\">\r\n\t\tOregon Point<br/>\r\n\t\tA location in Oregon<br/>\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\tUnited States<br/>\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\r\n\t</div>\t\r\n\r\n","isGeocoded":"1","userDefined3":null,"userDefined2":null,"latitude":"37.09024","url":"/home/map-test/oregon-point","assetId":"sneTzp1L_YKSwPlabNbyAg","userDefined1":"","title":"Oregon Point","canEdit":1});
points.push({"userDefined4":null,"longitude":"-95.712891","userDefined5":null,"content":"\t<div class=\"wg_mapPoint\">\r\n\t\ttttttttttttttt<br/>\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\tUnited States<br/>\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\r\n<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" lang=\"en\">\r\n<head>\r\n\r\n<title>Welcome - My Company</title>\r\n\r\n<link rel=\"stylesheet\" type=\"text/css\" href=\"/style-underground/css/underground.css\" />\r\n<link rel=\"stylesheet\" type=\"text/css\" href=\"/style-underground/css/underground-webgui.css\" />\r\n\r\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" /><meta name=\"generator\" content=\"WebGUI 7.10.10\" /><meta http-equiv=\"Content-Script-Type\" content=\"text/javascript\" /><meta http-equiv=\"Content-Style-Type\" content=\"text/css\" /><script type=\"text/javascript\">function getWebguiProperty (propName) {var props = new Array();props[\"extrasURL\"] = \"/extras/\";props[\"pageURL\"] = \"/home\";props[\"firstDayOfWeek\"] = \"0\";return props[propName];}</script><meta http-equiv=\"Pragma\" content=\"no-cache\" /><meta http-equiv=\"Cache-Control\" content=\"no-cache, must-revalidate, max-age=0, private\" /><meta http-equiv=\"Expires\" content=\"0\" />\r\n</head>\r\n\r\n<body>\r\n\r\n<!-- wrap starts here -->\r\n<div id=\"wrap\">\r\n\r\n\t\t<div id=\"header-logo\">\t\t\t\r\n\t\t\t\r\n\t\t\t<div id=\"logo\">your<span class=\"red\">name</span></div>\t\t\r\n\t\t\t\r\n\t\t\t<form method=\"post\" class=\"search\" action=\"/style-underground/search\">\r\n\t\t\t\t<p><input name=\"search_query\" class=\"textbox\" type=\"text\" />\r\n \t\t\t\t<input name=\"search\" class=\"searchbutton\" value=\"Search\" type=\"submit\" /></p>\r\n\t\t\t</form>\r\n\t\t\t\t\t\t\r\n\t\t</div>\r\n\r\n\t<div id=\"sidebar\">\r\n\t\t\t\t\t\r\n\t\t\t<h1>Home</h1>\r\n\t\t\t<div class=\"left-box\">\r\n\t\t\t\t<ul class=\"sidemenu\">\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\t\t<li><a href=\"/getting_started\">Getting Started</a></li>\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\t\t<li><a href=\"/your_next_step\">Your Next Step</a></li>\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\t\t<li><a href=\"/documentation\">Documentation</a></li>\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\t\t<li><a href=\"/join_us\">Join Us</a></li>\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\t\t<li><a href=\"/site_map\">Site Map</a></li>\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\t\t<li><a href=\"/home/have-thingy\">Have Thingy</a></li>\r\n\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t</ul>\t\r\n\t\t\t</div>\r\n\t\t\t\r\n\r\n\t\t<h1>Hello, chris</h1>\r\n\t\t<div class=\"left-box\">\r\n\t\t\t<ul class=\"sidemenu\">\r\n\t\t\t\t<li><a class=\"loginToggleLink\" href=\"/home?op=auth;method=logout\">Logout</a></li>\r\n\t\t\t\t<li><a href=\"/home?op=auth;method=init\">View My Account</a></li>\r\n\t\t\t\t<li><a href=\"/home?op=switchOnAdmin\">Turn Admin On!</a></li>\r\n\t\t\t</ul>\r\n\t\t</div>\r\n\t\t<h1>WebGUI Links</h1>\t\r\n\t\t<div class=\"left-box\">\r\n\t\t\t<ul class=\"sidemenu\"><li><a href=\"http://webgui.org/addons\">Addons and Plugins</a></li></ul>\r\n\t\t</div>\t\r\n\t</div>\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t<div id=\"main\"><div class=\"wgThingy\">\r\n\t\r\n\r\n\t\r\n\t\t<h2 class=\"title\">something</h2>\r\n\t\t\t\r\n\r\n\t\r\n\t\r\n\t<div class=\"controls\">\r\n\t\t\r\n\t\t\t<a href=\"/home/have-thingy/something?func=manage\" class=\"styleButton\">Manage Things</a>\t\t\t\r\n\t\t\r\n\t\t\r\n\t\t\t<a href=\"/home/have-thingy/something?func=editThingData;thingId=hpxi0WBVZBM6IP8gHjM3_A;thingDataId=6\" class=\"styleButton\">Edit</a>\r\n\t\t\r\n\t\t\r\n\t\t\t<a href=\"/home/have-thingy/something?func=deleteThingDataConfirm;thingId=hpxi0WBVZBM6IP8gHjM3_A;thingDataId=6\" onclick=\"return confirm('Are you sure you want to delete this thing? This is not versioned and cannot be undone.')\" class=\"styleButton\">Delete</a>\r\n\t\t\r\n\t\t\r\n\t\t\t<a href=\"/home/have-thingy/something?func=search;thingId=hpxi0WBVZBM6IP8gHjM3_A\" class=\"styleButton\">Search tribulations</a>\r\n\t\t\r\n\t\t\r\n\t\t\t<a href=\"/home/have-thingy/something?func=editThingData;thingId=hpxi0WBVZBM6IP8gHjM3_A;thingDataId=new\" class=\"styleButton\">Add tribulations</a>\r\n\t\t\r\n\t\t\t\t\t\r\n\t\t\t<div id=\"thingyList\">\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t<a href=\"javascript:showHide('vblMbApa5VkuuuafQ3wl8g_things')\" class=\"goButton\">tribulations</a>\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t<div id=\"vblMbApa5VkuuuafQ3wl8g_things\" style=\"display:none\" class=\"things\">\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t</div>\t\t\t\t\r\n\t\t\t</div>\t\t\t\t\r\n\t\t\r\n\t\t<div style=\"clear:both\"></div>\r\n\t</div>\r\n\t\r\n\t\r\n\r\n</div>\n</div>\t\t\t\r\n<!-- wrap ends here -->\r\n</div>\r\n\t\t\r\n<!-- footer starts here -->\r\n<div class=\"footer\">\r\n\t\r\n\t<p>\t\r\n\t&copy; 2006 <strong>My Company</strong> &nbsp;&nbsp;\t\r\n\tDesign by: <a href=\"http://www.styleshout.com/\">styleshout</a> |\r\n\tValid <a href=\"http://validator.w3.org/check/referer\">XHTML</a> |\r\n \t<a href=\"http://jigsaw.w3.org/css-validator/check/referer\">CSS</a>\r\n\t&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n\t<!-- bottom nav -->\t\t\t\t\r\n\t</p>\r\n\t\t\r\n</div>\t\r\n\t\r\n</body>\r\n</html>\r\n\r\n\t</div>\t\r\n\r\n","isGeocoded":"0","userDefined3":null,"userDefined2":null,"latitude":"37.09024","url":"/home/map-test/tttttttttttttt","assetId":"WvBrTjc1lR9IM4rPsecpww","userDefined1":"/home/have-thingy/something?func=viewThingData;thingId=hpxi0WBVZBM6IP8gHjM3_A;thingDataId=wfNaozCmCs7Iz-esQCtccg","title":"tttttttttttttt","canEdit":1});
points.push({"userDefined4":null,"longitude":"-95.712891","userDefined5":null,"content":"\t<div class=\"wg_mapPoint\">\r\n\t\tuntitled<br/>\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\tUnited States<br/>\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\r\n\t</div>\t\r\n\r\n","isGeocoded":"1","userDefined3":null,"userDefined2":null,"latitude":"37.09024","url":"/home/map-test2","assetId":"o55Iq2dEhL5RwDZbBbl2Jg","userDefined1":"","title":"untitled","canEdit":1});
markermanager.addMarkers( WebGUI.Map.preparePoints(map, markermanager, points), 0 );
markermanager.refresh();
if ( document.getElementById( "setCenter_" + mapId ) ) {
var button = document.getElementById( "setCenter_" + mapId );
GEvent.addDomListener( button, "click", function () {
WebGUI.Map.setCenter( map, '/home/map-test' );
} );
}
if ( document.getElementById( "addPoint_" + mapId ) ) {
var button = document.getElementById( "addPoint_" + mapId );
GEvent.addDomListener( button, "click", function () {
WebGUI.Map.editPoint( map, markermanager );
} );
}
});
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment