CINXE.COM
Prince Edward Island - Population, Age characteristics, Dwellings, Houses, Language, Education, Work, Industry, Earnings, Income, Immigration, Citizenship, Labor
<!DOCTYPE html> <html> <head> <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"> <meta name="Description" content="Cities in Prince Edward Island"> <title>Prince Edward Island - Population, Age characteristics, Dwellings, Houses, Language, Education, Work, Industry, Earnings, Income, Immigration, Citizenship, Labor</title> <link rel="stylesheet" type="text/css" href="https://pics3.city-data.com/css/style-sm-bs.css"> <meta charset="utf-8"/> <meta http-equiv="Content-Language" content="en"/> <meta http-equiv="X-UA-Compatible" content="IE=edge"/> <meta name="robots" content="index, follow"/> <meta name="robots" content="all"/> <meta name="googlebot" content="all"/> <meta name="msnbot" msnbot="all"/> <meta name="apple-mobile-web-app-capable" content="YES"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <link rel="preload" as="font" href="//pics3.city-data.com/fonts/glyphicons-halflings-regular.woff2" type="font/woff2" crossorigin="anonymous"/> <link rel="preload" as="script" href="//ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js" crossorigin="anonymous"/> <link rel="preload" as="script" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js" crossorigin="anonymous"/> <link rel="preload" href="https://ssl.google-analytics.com/ga.js" as="script"/> <link rel="preload" href="https://secure.quantserve.com/quant.js" as="script"/> <script type='text/javascript'>window.ua={mobile:0};</script> <style> #sticky-ad {height:800px;max-width:300px;} #left-ad {height:800px;max-width:300px;} #anchor-ad {display:none;} .horizontal-ad {min-height:90px;max-width:1200px;margin:5px auto;overflow:hidden;} .showStreetViewLink {visibility:hidden;} </style> <script>!function(e){"use strict";var t=function(t,n,r){function o(e){return i.body?e():void setTimeout(function(){o(e)})}function l(){d.addEventListener&&d.removeEventListener("load",l),d.media=r||"all"}var a,i=e.document,d=i.createElement("link");if(n)a=n;else{var s=(i.body||i.getElementsByTagName("head")[0]).childNodes;a=s[s.length-1]}var u=i.styleSheets;d.rel="stylesheet",d.href=t,d.media="only x",o(function(){a.parentNode.insertBefore(d,n?a:a.nextSibling)});var f=function(e){for(var t=d.href,n=u.length;n--;)if(u[n].href===t)return e();setTimeout(function(){f(e)})};return d.addEventListener&&d.addEventListener("load",l),d.onloadcssdefined=f,f(l),d};"undefined"!=typeof exports?exports.loadCSS=t:e.loadCSS=t}("undefined"!=typeof global?global:this),function(e){if(e.loadCSS){var t=loadCSS.relpreload={};if(t.support=function(){try{return e.document.createElement("link").relList.supports("preload")}catch(t){}},t.poly=function(){for(var t=e.document.getElementsByTagName("link"),n=0;n<t.length;n++){var r=t[n];"preload"===r.rel&&"style"===r.getAttribute("as")&&(e.loadCSS(r.href,r),r.rel=null)}},!t.support()){t.poly();var n=e.setInterval(t.poly,300);e.addEventListener&&e.addEventListener("load",function(){e.clearInterval(n)})}}}(this);</script> <link rel="stylesheet" href="//pics3.city-data.com/css/bootstrap.min.css"> <style> body {font-size: 16px;} hr {margin-top: 22px;margin-bottom: 22px;} h1,.h1,h2,.h2,h3,.h3 {margin-top: 22px;margin-bottom: 11px;} h4,.h4,h5,.h5,h6,.h6 {margin-top: 11px;margin-bottom: 11px;} h1,.h1 { font-size: 41px;} h2,.h2 { font-size: 34px;} h3,.h3 { font-size: 28px;} h4,.h4 { font-size: 20px;} h5,.h5 { font-size: 16px;} h6,.h6 { font-size: 14px;} p { margin: 0 0 11px;} .lead { margin-bottom: 22px; font-size: 18px;} @media (min-width: 768px) { .lead {font-size: 24px;}} small,.small {font-size: 87%;} .page-header { padding-bottom: 10px; margin: 44px 0 22px;} ul,ol { margin-bottom: 11px;} dl { margin-bottom: 22px;} blockquote { padding: 11px 22px; margin: 0 0 22px; font-size: 20px;} address { margin-bottom: 22px;} .table {margin-bottom: 22px;} @media screen and (max-width: 767px) { .table-responsive { margin-bottom: 16.5px;} } .dropdown-menu {font-size: 16px;} .dropdown-menu .divider {margin: 10px 0;} .dropdown-header {font-size: 14px;} .nav .nav-divider {margin: 10px 0;} .navbar {margin-bottom: 22px;} .navbar-brand {padding: 14px 15px;font-size: 20px;line-height: 22px;} .navbar-nav > li > a { line-height: 22px;} @media (max-width: 767px) {.navbar-nav .open .dropdown-menu > li > a {line-height: 22px;}} @media (min-width: 768px) {.navbar-nav > li > a {padding-top: 14px;padding-bottom: 14px;}} .navbar-btn { margin-top: 7px; margin-bottom: 7px;} .navbar-btn.btn-sm { margin-top: 8.5px; margin-bottom: 8.5px;} .navbar-text { margin-top: 14px; margin-bottom: 14px;} .breadcrumb { margin-bottom: 22px;} .pagination { margin: 22px 0;} .pagination-lg > li > a,.pagination-lg > li > span { font-size: 20px;} .pagination-sm > li > a,.pagination-sm > li > span { font-size: 14px;} .thumbnail { margin-bottom: 22px;} .alert { margin-bottom: 22px;} .gBorder, .gBorder div {max-width: 100%;} .barG, .barG div, .pieG, .pieG div, .lineG, .lineG div {max-width: 100%} .gBorder img, section img {max-width:100%;height:auto;} #body { padding: 0px } @media(max-width: 400px) { body > div.container-fluid { padding-left: 5px; padding-right: 5px; } } @media(min-width: 768px) { body > div.container-fluid { padding-left: 30px; padding-right: 30px; } } </style> <!--[if lte IE 8]><style>.logo1,.logo2{background-size:cover;background-repeat:no-repeat;background-position:center center}.logo1{-ms-filter:"progid:DXImageTransform.Microsoft.AlphaImageLoader(src='//pics3.city-data.com/assets/desktop/logo/city-data.png', sizingMethod='scale')"}.logo2{-ms-filter:"progid:DXImageTransform.Microsoft.AlphaImageLoader(src='//pics3.city-data.com/assets/desktop/logo/city-data_sm.png', sizingMethod='scale')"}</style><style>.navbar-fixed-top{height:50px !important;max-height:50px !important}#top_menu{height:20px !important}#menu_search{height:20px !important}.navbar-brand>.logo1{display:none !important}.breadcrumb>LI{display:inline !important;padding:0 !important;border-right:2px solid #aaa !important}.breadcrumb>LI.active{border:0 !important}</style><![endif]--> <style>.navbar-header{max-height:50px}.nav>li.sublink_short{display:block}.nav>li.sublink_dropdown{display:none}.dropdown-menu li.sublink_short{display:block}.dropdown-menu li.sublink_dropdown{display:none}.container-menu{margin:auto;width:800px}@media(min-width:768px){.nav>li.sublink_short{display:none}.nav>li.sublink_dropdown{display:block}}@media(max-width :1005px){.nav>li>a{padding:15px 8px !important}}.changing{overflow:hidden !important}@media(max-width:767px){.container-menu{width:auto}}@media(min-width:768px){.container-menu{width:750px;max-height:50px}.navbar-fixed-top{max-height:50px}}@media(min-width:992px){.container-menu{width:970px}}@media(min-width:1200px){.container-menu{width:1100px}}@media(min-width:1300px){.container-menu{width:1200px !important}}@media(min-width:1550px){.container-menu{width:1400px !important}}@media(min-width:1850px){.container-menu{width:1700px !important}}.navbar a{border-bottom:0}body{padding-top:50px}#top_menu{font-size:14px}.navbar-wrapper .dropdown-menu{background:#222 !important}.navbar-wrapper .dropdown-menu a{color:#999 !important}.navbar-wrapper .dropdown-menu a:hover{background:none !important;color:#fff !important}.navbar-brand{padding:10px}.navbar{background-color:rgba(34,34,34,.83)}.navbar-inverse .navbar-nav>li>a:hover,.navbar-inverse .navbar-nav>li>a:focus{text-shadow:0 0 3px rgba(0,0,0,.9)}.navbar-inverse .navbar-nav>li>a{color:#c9c9c9;text-shadow:0 0 3px rgba(0,0,0,.85)}.states-grid-dropdown>table>tbody>tr>td{text-align:center;border-top-color:#404040}.states-grid-dropdown{padding:5px}.states-grid-dropdown>table{margin:0}.states-grid-dropdown>table>tbody>tr>td{text-align:center;border-top-color:#404040}.states-grid-dropdown{padding:5px}.states-grid-dropdown>table{margin:0}@media(min-width :768px) and (max-width :1008px){.navbar-brand>.logo1{display:none}}@media(min-width :1009px){.navbar-brand>.logo2{display:none}}@media(max-width :767px){.navbar-brand>.logo2{display:none}.navbar-nav>li>a{padding:14px 4px !important}}@media(max-width :1008px){.navbar-nav>li>a{padding:14px 4px !important}}@media(min-width :1009px) and (max-width:1400px){.navbar-nav>li>a{padding:14px 6px !important}}.navlink{color:#e9e9e9;text-shadow:0 0 3px rgba(0,0,0,.85);font-weight:500}.navlink:hover,.navlink:focus{color:#fff;text-shadow:0 0 3px rgba(0,0,0,.85);font-weight:500;text-decoration:underline}.dropdown-menu{transition:.6s;opacity:0}.open>.dropdown-menu{opacity:1;display:block;transition:.6s}.openning>.dropdown-menu{opacity:0;display:block;transition:.3s}.closing>.dropdown-menu{pointer-events:none;opacity:0;display:block;transition:.9s}@media(max-width: 767px){ol.breadcrumb li {font-size:18px; margin: 3px 5px;}}</style> <style>#menu_search{color:black;text-shadow:0 0 3px white;width:122px;border-radius:30px;height:30px;margin-top:3px;background-image:url("//pics3.city-data.com/assets/common/google_custom_search_watermark.png");background-repeat:no-repeat;background-position:left center}#menu_search_icon>i{color:#111;font-size:20px;top:4px;float:right;position:relative;margin:0;padding:0}#menu_search_icon:hover>i{color:white}#search_bar_menu>.googledrop{background-color:#555;background-color:rgba(34,34,34,.83);position:absolute;color:white;top:100%;padding:5px;transition:.5s;display:none;opacity:0;border-bottom-right-radius:5px;border-bottom-left-radius:5px}#search_bar_menu>.googledrop>p{font-size:.8em;margin:0}#search_bar_menu>.googledrop>p>img{border:2px white solid;border-radius:3px;float:right;margin-left:2px}#search_bar_menu.showdrop_op1>.googledrop{transition:.5s;display:block;opacity:0}#search_bar_menu.showdrop>.googledrop{transition:.5s;display:block;opacity:1}#search_bar_menu>#menu_search:focus{background-image:none;transition:.5s}@media(max-width :767px){.navbar-form [role="search"]{margin-top:10px;margin-left:0;margin-right:0;padding:0}#menu_search{width:80%}</style> <style> div.llSpin {background-repeat: no-repeat; background-position: center center;background-color:#F5F5F5;background-image: url('data:image/png;base64,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');} .scroll-top-wrapper { position: fixed; opacity: 0; visibility: hidden; overflow: hidden; text-align: center; z-index: 99999999; background-color: #777777; color: #eeeeee; width: 50px; height: 48px; line-height: 48px; right: 30px; bottom: 30px; padding-top: 2px; border-top-left-radius: 10px; border-top-right-radius: 10px; border-bottom-right-radius: 10px; border-bottom-left-radius: 10px; -webkit-transition: all 0.5s ease-in-out; -moz-transition: all 0.5s ease-in-out; -ms-transition: all 0.5s ease-in-out; -o-transition: all 0.5s ease-in-out; transition: all 0.5s ease-in-out; vertical-align:middle; } .scroll-top-wrapper:hover { background-color: #888888; } .scroll-top-wrapper.show { visibility:visible; cursor:pointer; opacity: 0.9; } .scroll-top-wrapper i { font-size:25px; margin-top:10px; } </style> <!--[if IE 7]> <script>window.noCanvas = 1;</script> <![endif]--> <!--[if lte IE 8]> <link rel="stylesheet" type="text/css" href="https://pics3.city-data.com/css/bootstrap.custom.min.ie.css"/> <script>document.createElement('section');window.oldIE = 1;window.lazyLoadHC = 1;</script> <style> #top_menu {height:20px!important;} #menu_search {height:20px!important;} .navbar-brand > .logo1 { display: none!important } .breadcrumb > LI {display:inline!important; padding:0 !important; border-right: 2px solid #aaa!important;} .breadcrumb > LI.active {border:none!important;} </style> <![endif]--> <script> var supportsPassive = false; try { var opts = Object.defineProperty({}, 'passive', { get: function() { supportsPassive = {passive:true}; } }); window.addEventListener("testPassive", null, opts); window.removeEventListener("testPassive", null, opts); } catch (e) {} window.requestIdleCallback = window.requestIdleCallback || function (cb) {setTimeout(cb,10);}; window.requestAnimationFrame = window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || window.msRequestAnimationFrame || window.oRequestAnimationFrame || function (cb) {setTimeout(cb,1);}; window.rTasks = []; function runTask(callback, loPrior) { if (window.rTasks[callback.name] !== void 0) return;// already scheduled before window.rTasks[callback.name] = 1; var toRun = function() { var start = new Date().getTime(); callback(); var diff = new Date().getTime() - start; console.log(callback.name + " end, took " + diff + "ms"); }; if (loPrior == void 0) window.requestAnimationFrame(toRun); else if (loPrior === 666) toRun(); else window.requestIdleCallback(toRun); } window.jqTasks = []; function runTaskJquery(callback, loPrior) { if (callback != void 0) window.jqTasks.push(function(){runTask(callback, loPrior);}); if (window.jQuery == void 0) return setTimeout(runTaskJquery, 25); //try again in a while while (window.jqTasks.length) window.jqTasks.shift()(); } window.jqTasksLL = []; function runTaskJqueryLL(callback, loPrior) { if (callback != void 0) window.jqTasksLL.push(function(){runTask(callback, loPrior);}); var notReady = 0 + ((window.jQuery == void 0) || (jQuery.fn == void 0) || (jQuery.fn.lazyload == void 0)); if (notReady) return setTimeout(runTaskJqueryLL, 25); //try again in a while while (window.jqTasksLL.length) window.jqTasksLL.shift()(); } </script> <style> div.hsHidden .highcharts-container * { visibility: hidden !important; } .highcharts-container canvas, .chart, [data-highcharts-chart] {max-width: 100%;} #boxMAPborder canvas {max-width:none;} </style> <!-- initOSM --><script type='text/javascript'>window.LEAFLET_URL = 'https://pics3.city-data.com/js/maps/CANVAS/leaflet.js';</script> <link rel='stylesheet' href='https://pics3.city-data.com/js/maps/CANVAS/leaflet.css' /> <!--[if lte IE 8]><link rel='stylesheet' href='https://pics3.city-data.com/js/maps/CANVAS/leaflet.ie.css' /><![endif]--> <script type='text/javascript' src='https://pics3.city-data.com/js/maps/CANVAS/maplib.js'></script> <style type="text/css"> ul.galleryItems img.img-thumbnail { width: 140px; height: 140px; max-width: 140px; } ul.galleryItems { padding: 0; display: block; list-style: none; } ul.galleryItems>li { display: inline-block; *display: inline; *zoom: 1; vertical-align: middle; } ul.galleryItems>li img {border-width: 2px;} ul.galleryItems>li.current img { border-color: #808080 } ul.galleryItems>li>a.galleryMore>span.big {font-size: 1.8em; font-weight:500;} a.galleryMore, #galleryAdd { background-color: gray; color: white; font-size: 1.5em; border-radius: 5px; border: 1px solid gray; padding: 10px; margin: 5px; width: 140px; height: 140px; display: block; text-align: center; } #galleryAdd>span {font-size: 2.3em; } .thumb-detail { border: 1px solid #ddd; border-radius:4px; padding: 5px } .thumb-detail p { position: absolute; top: 50%; -moz-transform: translateY(-50%); -webkit-transform: translateY(-50%); transform: translateY(-50%); text-align: center; width: 130px; height: 130px; overflow: hidden; } .thumb { display:block; width:140px; height:140px; position:relative; margin:5px; float:left; } .thumb-wrapper { display:block; width:100%; height:100%; } .thumb img { width:100%; height:100%; position:absolute; display:block; /* box-shadow: 5px 5px 5px #aaa; */ } .thumb .thumb-detail { display:none; width:100%; height:100%; position:absolute; background:#ddd; color: #555; /* box-shadow: 5px 5px 5px #aaa; */ } /* * Without CSS3 Scroll Up Effect */ .thumb.scroll { overflow: hidden; } .thumb.scroll .thumb-detail { bottom:-280px; } /* * CSS 3D Card Flip Effect */ .thumb.flip .thumb-wrapper img, .thumb.flip .thumb-wrapper .thumb-detail { -webkit-transition:all 1.0s linear; -moz-transition:all 1.0s linear; transition:all 1.0s linear; -webkit-transform-style: preserve-3d; -moz-transform-style: preserve-3d; transform-style: preserve-3d; } .thumb.flip .thumb-wrapper img { -moz-transform:perspective(800px) rotateY(0deg); -webkit-transform:perspective(800px) rotateY(0deg); transform:perspective(800px) rotateY(0deg); } .thumb.flip .thumb-detail { -moz-transform:perspective(800px) rotateY(180deg); -webkit-transform:perspective(800px) rotateY(180deg); transform:perspective(800px) rotateY(180deg); } .thumb img { z-index: 1 } .thumb.flip img, .thumb.flip .thumb-detail { -moz-backface-visibility:hidden; -webkit-backface-visibility:hidden; backface-visibility:hidden; } .thumb.flip .flipIt img { -webkit-transform:perspective(800px) rotateY(-179.9deg); -moz-transform:perspective(800px) rotateY(-179.9deg); transform:perspective(800px) rotateY(-179.9deg); } .thumb.flip .flipIt .thumb-detail { -moz-transform:perspective(800px) rotateY(0); -webkit-transform:perspective(800px) rotateY(0); transform:perspective(800px) rotateY(0); } @media(max-width: 400px) { #galleryItems {text-align:center;} } </style> <style> section#business-search, div.search_box_bs, div.business-search, #bp_searchother {display:none!important;visibility:hidden!important} #fb-root + script + div {margin-bottom: 15px;} </style> <!-- Quantcast Tag, part 1 --> <script type="text/javascript"> var _qevents = _qevents || []; (function() { var elem = document.createElement('script'); elem.src = (document.location.protocol == "https:" ? "https://secure" : "https://edge") + ".quantserve.com/quant.js"; elem.async = true; elem.type = "text/javascript"; var scpt = document.getElementsByTagName('script')[0]; scpt.parentNode.insertBefore(elem, scpt); })(); </script> <style> #mapST { width: 100%;margin: 0px;height: 350px; float: right;} #loading { color: gray; font-size: 12pt; font-weight: bold; text-align: center; margin-top: 125px;} #cityLIST {margin:0px; padding:0px; margin-top:5px; float: left;width: 100%;} #gDirections b {font-weight:bold;color:#000;} table.cityTAB {margin: 0px; padding:0px;margin-top: 20px;background: whitesmoke;font-size: 12pt;border-collapse: collapse;width: 100%;} table.cityTAB th, table.cityTAB td {border: 1px silver solid;padding: 0.2em;font-size: 12pt;text-align: center;} table.cityTAB th { background: gainsboro; font-size: 12pt} table.cityTABNotUsed td {font-size: 0px; color: black;} table.cityTAB td+td, table.cityTAB th {font-size: 12pt; color: black;} table.cityTAB caption {margin-left: inherit;margin-right: inherit;font-size: 12pt;} table.cityTAB .r1 td p {background: url('https://pics3.city-data.com/mm_20_red.png') 50% 50% no-repeat; height: 21px; width: 14px; text-align: center; margin: 0px auto; cursor: hand; cursor: pointer;} table.cityTAB .r2 td p {background: url('https://pics3.city-data.com/mm_20_orange.png') 50% 50% no-repeat; height: 21px; width: 14px; text-align: center; margin: 0px auto; cursor: hand; cursor: pointer;} table.cityTAB .r3 td p {background: url('https://pics3.city-data.com/mm_20_yellow.png') 50% 50% no-repeat; height: 21px; width: 14px; text-align: center; margin: 0px auto; cursor: hand; cursor: pointer;} table.cityTAB .r4 td p {background: url('https://pics3.city-data.com/mm_20_green.png') 50% 50% no-repeat; height: 21px; width: 14px; text-align: center; margin: 0px auto; cursor: hand; cursor: pointer;} table.cityTAB tr:hover {background: #DEDEDE;} table.cityTAB td.ph {background: url('https://pics2.city-data.com/c1.png') 100% 50% no-repeat; padding-right: 20px;} table.cityTAB td.ph:hover {background: #DEDEDE url('https://pics2.city-data.com/c1.png') 100% 50% no-repeat; padding-right: 20px;} table.cityTAB th {background:url('https://pics3.city-data.com/header-bg.gif'); text-align:left; color:#cfdce7; border:1px solid #fff; border-right:none} table.cityTAB .head h4 {background:url('https://pics3.city-data.com/sort.gif') 7px center no-repeat; cursor:pointer; padding-left:18px; margin: 0px;} table.cityTAB .desc h4 {background:url('https://pics3.city-data.com/desc.gif') 7px center no-repeat; cursor:pointer; padding-left:18px; margin: 0px;} table.cityTAB .asc h4 {background:url('https://pics3.city-data.com/asc.gif') 7px center no-repeat; cursor:pointer; padding-left:18px; margin: 0px;} table.cityTAB .head:hover, .sortable .desc:hover, .sortable .asc:hover {color:#fff} .nosort h4 {background: red;cursor:pointer; padding-left:18px; margin: 20px;} .search_box_forum {background-image: url(https://pics3.city-data.com/images/findbox.back.png);background-repeat:repeat-x;background-position:top;background-color: #F7F4F0;border:1px solid #EDE6DC;padding: 8px;margin: 10px;line-height: 140%;} .search_box_foruminput{width:120px;} .search_box_forum form {margin:0px;} .search_box_forum input {vertical-align: middle;} .recentline {list-style-type: circle;line-height: 150%;} .details {padding-left: 15px;color: #3F5A47;padding-bottom: 15px;} .hsalestable {background-image: url(https://pics3.city-data.com/images/tfieldset.gif);border-right-width: medium;border-bottom-width: medium;border-left-width: medium;border-right-style: none;border-bottom-style: none;border-left-style: none;border-right-color: -moz-use-text-color;border-bottom-color: -moz-use-text-color;border-left-color: -moz-use-text-color;border-top-width: 1px;border-top-style: solid;border-top-color: #c9dca6;background-color: transparent;background-repeat: repeat;background-attachment: scroll;background-x-position: left;background-y-position: bottom;} .tablerow {background-color: transparent;padding-top: 5px;padding-right: 10px;padding-bottom: 7px;padding-left: 10px;background-attachment: scroll;background-image: url(https://pics3.city-data.com/images/tdivider.gif);background-repeat: repeat-x;background-x-position: left;background-y-position: bottom;} .tabletext {color: #333333;padding-left: 5px;padding-bottom: 3px;padding-top: 3px;} .m1 {z-index:3000000;} .m2 {z-index:2000000;} .m3 {z-index:1000000;} .m4 {z-index:1000000;} .r1 {visibility: visible; display: table-row;} .r2 {visibility: visible; display: table-row;} .r3 {visibility: visible; display: table-row;} .r4 {visibility: visible; display: table-row;} body { min-width:0px; } .style1 {font-family: Arial, Helvetica, sans-serif} a.blue:link {color: #000000; background: #ffffff; text-decoration: none;} a.red:link {color: #ff0000; background: #ffffff; text-decoration: none;} tr.ruled{background:#dcdcff;} b {font-weight:normal;color:#505050;} #omapSO, #gmapSO, #mmapSO { width: 100%;margin: 0px;height: 470px;} #mmapSO {position:relative; width:100%; height:470px;top:25px;} .mapbox {border: 1px solid #aaa; width:80%;height: 510px; background: #EEE; margin: 0px auto;display: block;padding-top:5px;} .loading { color: gray; font-size: 12pt; font-weight: bold; text-align: center; margin-top: 250px;} ul.map {float:left;} .mrkSO {z-index:3000000;} .mi img {border:none;} small .mi {visibility:hidden;display:none;} .mapNote {padding:2px; background: #f55; color: #fff; border: 2px solid #fff;float:right;} .bInfoBox {background:#fff;width:300px;border: 1px solid #ccc;display:block;padding:3px;} .bInfoTitle {height:20px;border-bottom:1px dotted #000;margin-bottom:5px;font-weight:bold;} .bInfoTitle img {float:right;border:none;} .bInfoHtml {height:175px;overflow-y:auto;} .hgraph { padding: 0px; margin: 0px; margin-bottom: 20px; } .hgraph table { padding: 0px; margin: 0px; border: 0; border-collapse: collapse; border-spacing: 0px; } .hgraph p { height: 10px; padding: 0px; margin: 7px 10px 0px 5px; float:left; } .hgraph .h {background: #AE91CF;} .hgraph .a {background: #B2CF91;} #hStats {margin:20px 0px;padding-top:20px;border-top;border-top:1px dotted;border-bottom:1px dotted;} #hStats small {color: #f99;} small#disclaimer {color:#888;} ul {margin-bottom:0px;} blockquote {margin:0px;} div.even {background: #eee;} div.odd, div.even {padding:5px 15px;} h1 { font-size: 32px; font-weight: 400; margin-bottom: 15px; padding-bottom: 4px; text-align:center; } h1 > span { border: 0px; border-bottom: 3px double rgb(91, 206, 255); border-image: linear-gradient(to right,white,rgb(172, 233, 250) 20%,rgb(185, 228, 209),rgba(255, 255, 255, 0)) 20 stretch; } .hgraph { margin:0 0 20px; padding:0; } .hgraph table { border:0; border-collapse:collapse; border-spacing:0; margin:0; padding:0; } .hgraph p { height:10px; float:left; margin:7px 10px 0 5px; padding:0; } .hgraph .h { background:#AE91CF; } .hgraph .a { background:#B2CF91; } .pieG,.barG,.lineG { border:2px solid #aaa; float:left; margin:0 20px 10px; padding:5px; } .pieG p,.barG p,.lineG p { text-align:center; height:45px; background:#fff; font-style:italic; margin:0; padding:0; } b { font-weight: normal; color: #505050; } .canada_map_links, .canada_map_links:visited { width: 7%; height: 6%; font-size: 90%; text-align: center; position: absolute; color: white; text-shadow: 0 0 3px rgba(34,34,34, 0.9); transition: color 0.4s; line-height: 125%; } .canada_map_links:hover { color: rgb(34,34,34); text-shadow: 0 0 3px rgba(255,255,255, 1.0); text-decoration: none; } @media (max-width: 500px) { .container-fluid .row {margin-left:0; margin-right:0} } </style> <script type="text/javascript"> //<![CDATA[ var debug = 0; var begTimestamp = new Date(); function timeDifference(laterdate,earlierdate) { var difference = laterdate.getTime() - earlierdate.getTime(); var secondsDifference = Math.floor(difference/1000); document.getElementById('hTitle').innerHTML = secondsDifference + ' second/s '; } var TINY={}; function T$(i){return document.getElementById(i)} function T$$(e,p){return p.getElementsByTagName(e)} TINY.table=function(){ function sorter(n){this.n=n;} sorter.prototype.init=function(e,f){ var t=ge(e), i=0; this.e=e; this.l=t.r.length; t.a=[]; t.h=T$$('thead',T$(e))[0].rows[0]; t.w=t.h.cells.length; for(i;i<t.w;i++){ var c=t.h.cells[i]; if(c.className!='nosort'){ c.className=this.head; c.onclick=new Function(this.n+'.wk(this.cellIndex)') } } for(i=0;i<this.l;i++){t.a[i]={}} if(f!=null){var a=new Function(this.n+'.wk('+f+')'); a()} }; sorter.prototype.wk=function(y){ var t=ge(this.e), x=t.h.cells[y], i=0; for(i;i<this.l;i++){ t.a[i].o=i; var v=t.r[i].cells[y]; while(v.hasChildNodes()){v=v.firstChild} t.a[i].v=v.nodeValue?v.nodeValue:'' } if ((y ==2) && (x.className == this.head) ) {t.d=0;t.p=y;x.className=this.asc;t.a.sort(cp);} for(i=0;i<t.w;i++){var c=t.h.cells[i]; if(c.className!='nosort'){c.className=this.head}} if(t.p==y){t.a.reverse(); x.className=t.d?this.asc:this.desc; t.d=t.d?0:1} else{t.p=y; t.a.sort(cp); t.d=0; x.className=this.asc} var n=document.createElement('tbody'); for(i=0;i<this.l;i++){ var r=t.r[t.a[i].o].cloneNode(true); r.className = t.r[t.a[i].o].className; n.appendChild(r); } t.replaceChild(n,t.b); }; function ge(e){var t=T$(e); t.b=T$$('tbody',t)[0]; t.r=t.b.rows; return t}; function cp(f,c){ var g,h; f=g=f.v.toLowerCase(), c=h=c.v.toLowerCase(); var i=parseFloat(f.replace(/(\$|\,)/g,'')), n=parseFloat(c.replace(/(\$|\,)/g,'')); if(!isNaN(i)&&!isNaN(n)){g=i,h=n} i=Date.parse(f); n=Date.parse(c); if(!isNaN(i)&&!isNaN(n)){g=i; h=n} return g>h?1:(g<h?-1:0) }; return{sorter:sorter} }(); var stateName = 'Prince Edward Island'; var map; var directionsDisplay; var directionsService; var hideALL = false; var fActive = false; var citiesTAB = new Array(); var markersTAB = new Array(); var cssRules = null; var classSTATES = new Array(); function c(id) { mL_showMarkersPopup(mapID, id); window.location = '#ptop'; } function l(url) { window.location = url + "-" + stateName;} function changeCSS(theClass, element, value) { if (classSTATES[theClass + element] == value) return; if (!cssRules) cssRules = (document.styleSheets[0]['rules']) ? 'rules' : 'cssRules'; var R = 0; switch (theClass) { case ".r1": R = 0; break; case ".r2": R = 1; break; case ".r3": R = 2; break; case ".r4": R = 3; break; } var S = 3; for (var i = document.styleSheets.length - 1; i >= 0; i--) {try { if (document.styleSheets[i][cssRules].length == 4){S = i;break;}}catch(err) {}} //if (document.styleSheets[S][cssRules].length != 6) throw "Unexpected StyleSheet"; document.styleSheets[S][cssRules][R].style[element] = value; classSTATES[theClass + element] = value; } function ToggleCities(size) { var select = document.getElementById('citySize'); var hTitle = document.getElementById('hTitle'); if (!select.selectedIndex) hTitle.innerHTML = select.options[0].text + " in " + stateName.replace(/.html/, ""); else hTitle.innerHTML = stateName.replace(/.html/, "") + " " + select.options[select.selectedIndex].text; switch (size) { case "1": mL_setMarkerGroupVisible(mapID, 0, true); mL_setMarkerGroupVisible(mapID, 1, false); mL_setMarkerGroupVisible(mapID, 2, false); mL_setMarkerGroupVisible(mapID, 3, false); for (var m = 0; m < markersTAB.length; m++) markersTAB[m].isVisible = (classNames[condMarkers[m]] == 'm1'); changeCSS('.r1', 'visibility', 'visible'); changeCSS('.r1', 'display', ''); changeCSS('.r2', 'visibility', 'hidden'); changeCSS('.r2', 'display', 'none'); changeCSS('.r3', 'visibility', 'hidden'); changeCSS('.r3', 'display', 'none'); changeCSS('.r4', 'visibility', 'hidden'); changeCSS('.r4', 'display', 'none'); map.selectedIndex = 1; if (map.filter != "") FilterCities(); break; case "2": mL_setMarkerGroupVisible(mapID, 0, false); mL_setMarkerGroupVisible(mapID, 1, true); mL_setMarkerGroupVisible(mapID, 2, false); mL_setMarkerGroupVisible(mapID, 3, false); for (var m = 0; m < markersTAB.length; m++) markersTAB[m].isVisible = (classNames[condMarkers[m]] == 'm2'); changeCSS('.r1', 'visibility', 'hidden'); changeCSS('.r1', 'display', 'none'); changeCSS('.r2', 'visibility', 'visible'); changeCSS('.r2', 'display', ''); changeCSS('.r3', 'visibility', 'hidden'); changeCSS('.r3', 'display', 'none'); map.selectedIndex = 2; if (map.filter != "") FilterCities(); break; case "3": mL_setMarkerGroupVisible(mapID, 0, false); mL_setMarkerGroupVisible(mapID, 1, false); mL_setMarkerGroupVisible(mapID, 2, true); mL_setMarkerGroupVisible(mapID, 3, false); for (var m = 0; m < markersTAB.length; m++) markersTAB[m].isVisible = (classNames[condMarkers[m]] == 'm3'); changeCSS('.r1', 'visibility', 'hidden'); changeCSS('.r1', 'display', 'none'); changeCSS('.r2', 'visibility', 'hidden'); changeCSS('.r2', 'display', 'none'); changeCSS('.r3', 'visibility', 'visible'); changeCSS('.r3', 'display', ''); changeCSS('.r4', 'visibility', 'hidden'); changeCSS('.r4', 'display', 'none'); map.selectedIndex = 3; if (map.filter != "") FilterCities(); break; case "4": mL_setMarkerGroupVisible(mapID, 0, false); mL_setMarkerGroupVisible(mapID, 1, false); mL_setMarkerGroupVisible(mapID, 2, false); mL_setMarkerGroupVisible(mapID, 3, true); for (var m = 0; m < markersTAB.length; m++) markersTAB[m].isVisible = (classNames[condMarkers[m]] == 'm4'); changeCSS('.r1', 'visibility', 'hidden'); changeCSS('.r1', 'display', 'none'); changeCSS('.r2', 'visibility', 'hidden'); changeCSS('.r2', 'display', 'none'); changeCSS('.r3', 'visibility', 'hidden'); changeCSS('.r3', 'display', 'none'); changeCSS('.r4', 'visibility', 'visible'); changeCSS('.r4', 'display', ''); map.selectedIndex = 4; if (map.filter != "") FilterCities(); break; default: mL_setMarkerGroupVisible(mapID, 0, true); mL_setMarkerGroupVisible(mapID, 1, true); mL_setMarkerGroupVisible(mapID, 2, true); mL_setMarkerGroupVisible(mapID, 3, true); for (var m = 0; m < markersTAB.length; m++) markersTAB[m].isVisible = 1; changeCSS('.r1', 'visibility', 'visible'); changeCSS('.r1', 'display', ''); changeCSS('.r2', 'visibility', 'visible'); changeCSS('.r2', 'display', ''); changeCSS('.r3', 'visibility', 'visible'); changeCSS('.r3', 'display', ''); changeCSS('.r4', 'visibility', 'visible'); changeCSS('.r4', 'display', ''); map.selectedIndex = 0; if (map.filter != "") FilterCities(); break; } if (debug) { timeDifference(new Date(), begTimestamp); } } function ResetFilter() { fActive = false; var cTab = document.getElementById('cityTAB'); document.getElementById('filter').value = ''; for (var r = 1; r < cTab.rows.length; r++) { var id = cTab.rows[r].id + ""; var rSt = document.getElementById(id).style; rSt.display = ''; rSt.visibility = 'visible'; if (!map.selectedIndex || (condMarkers[id] + 1 == map.selectedIndex)) tM(id, 1); } } function tM(id, visible) { if (typeof markersTAB[id] == 'undefined') return; var m = markersTAB[id]; if (visible && !m.isVisible) map.addLayer(m); if (!visible && m.isVisible) map.removeLayer(m); markersTAB[id].isVisible = visible; } function FilterCities() { fActive = true; map.filter = document.getElementById('filter').value.toLowerCase(); if (map.filter == "") { return ResetFilter(); } var cTab = document.getElementById('cityTAB'); for (var r = 1; r < cTab.rows.length; r++) { var id = cTab.rows[r].id + ""; var rSt = document.getElementById(id).style; if (typeof citiesTAB[id] == 'undefined') { var city = cTab.rows[r].cells[1].innerHTML.toLowerCase(); city = city.replace(/<B>/i, ""); city = city.substr(city.indexOf(">") + 1); city = city.substr(0, city.indexOf("<")); citiesTAB[id] = city; } var city = citiesTAB[id]; if (city.indexOf(map.filter) == 0) { rSt.display = ''; rSt.visibility = 'visible'; if (!map.selectedIndex || (condMarkers[id] + 1 == map.selectedIndex)) tM(id, 1); else tM(id, 0); } else { rSt.display = 'none'; rSt.visibility = 'hidden'; if (!map.selectedIndex || (condMarkers[id] + 1 == map.selectedIndex)) tM(id, 0); } } } var mCnt= 0; var mapID = 'mapST'; var markIcons = ['mm_20_red.png', 'mm_20_orange.png', 'mm_20_yellow.png', 'mm_20_green.png']; var classNames = ['m1', 'm2', 'm3', 'm4']; var latTab = [46.8116,46.295,46.2639,46.2403,46.1856,46.4358,46.1652,46.3542,46.2206,46.4158,46.415]; var lonTab = [-64.0649,-63.1298,-63.1353,-63.2008,-62.5313,-63.6381,-62.6493,-62.256,-63.082,-63.8502,-63.7852]; var condMarkers = [2,0,1,2,2,2,2,2,2,0,1]; function mL_addGroupedMarkersToMapSmall(mapHtmlId, markersLatArr, markersLonArr, markersDescArr, groupIconsArray, markerToGroupMapping) { var select = document.getElementById('citySize'); var map = gmL_MapsDict[mapHtmlId]; markersTAB = new Array(); var icons = new Array(groupIconsArray.length); var groups = new Array(groupIconsArray.length); for (i = 0; i < groupIconsArray.length; ++i) { var MyIcon = L.Icon.extend( { options: { iconUrl: ('https://pics3.city-data.com/' + groupIconsArray[i]), shadowUrl: '', iconSize: new L.Point(9, 15), iconAnchor: new L.Point(4, 15), popupAnchor: new L.Point(0, -10) } } ); icons[i] = new MyIcon(); groups[i] = new L.LayerGroup(); } var latLngArr = new Array(); if (!gmL_MapsPropsDict[mapHtmlId].markersArray) gmL_MapsPropsDict[mapHtmlId].markersArray = new Array(); for (i = 0; i < markersLatArr.length; ++i) { var groupId = markerToGroupMapping[i]; var markerLocation = new L.LatLng(markersLatArr[i], markersLonArr[i]), marker = new L.Marker(markerLocation, { icon: icons[groupId] }); marker.isVisible = (!select.selectedIndex || select.selectedIndex == groupId + 1); latLngArr[i] = markerLocation; groups[groupId].addLayer(marker); var row = document.getElementById(i); var city = row.cells[1].innerHTML; var html = city; if (row.cells.length==3) { var pop = row.cells[2].innerHTML; html += "<br/>Population: " + pop; } else { var typ = row.cells[2].innerHTML; var pop = row.cells[3].innerHTML; html += "<br/>Type: "+typ+"<br/>Population: " + pop; } marker.bindPopup(html); markersTAB.push(marker); gmL_MapsPropsDict[mapHtmlId].markersArray.push(marker); } gmL_MapsPropsDict[mapHtmlId].markerGroups = groups; for (i = 0; i < groups.length; ++i) { if (!select.selectedIndex || select.selectedIndex == i + 1) map.addLayer(groups[i]); } if (!gmL_MapsPropsDict[mapHtmlId].markerBounds) { gmL_MapsPropsDict[mapHtmlId].markerBounds = new L.LatLngBounds(latLngArr); } else { var nB = new L.LatLngBounds(latLngArr); gmL_MapsPropsDict[mapHtmlId].markerBounds.extend(nB.getNorthWest()); gmL_MapsPropsDict[mapHtmlId].markerBounds.extend(nB.getSouthEast()); } return markersTAB; } function loadOMAP() { var descTab = []; map = mL_createMap(mapID); map.selectedIndex = document.getElementById('citySize').selectedIndex; map.filter = ""; mL_addGroupedMarkersToMapSmall(mapID, latTab, lonTab, descTab, markIcons, condMarkers); var dPoly = ['{w`~G|wpeK~i\\yzAvgR~hOylDblCjsCvnBviJetK_EwnHlvFkhGp`ArfD}Cc|GrqR}uPd~KruHe]klItdEa_D`qExpHlfBcvYq|DmzBs~DvcI}{ByjI{cBbuFosD}dDn{BwoIm~CjwA|lEew^fbM_oG{hE}|Gc~AdfJzzAuo[xlQ_wMsyCc}F{|BxyJroGsh^eqDr|ClhBqbQrsJsvKciJeo@}RpzKovB_ac@x_EmlAitD}i@sbAsuPrpDul^mrDxu[mrCuiRspB}uyApsEi|d@hiS`oh@}z@zqQhvChaAiuCjnOlgIkaGbLxqGh}H~BmuCh_HneKeuAtU|uRrcFsv@sj@xzJ~pMo{F_uF}uItyVhiBiyDffAzaBjeG|oBy{Nx}CnqB|wGt{u@yjBb`Ma~RfrYxmBrdNyePwf`@l_BbaQ}zHsnEmbDnaG`xC`bI{eIjnVddHic@jaIpsTaiJh`g@_iHzvD|zD`vAqkG`}KlgGu}A}|Aj{SywCg|Aj@z_K__Ekl@{|GjnVsxBu{FafEpfFvcC}qQq`CfgImzCw}BlT|zYy_Fr`HfpGn{L}fBruXkwVyeCajIsdJww@|_Em{KccAt~KdxEa{Gh_TbtApp_@o`TbxAm`h@{_h@uuWk`e@vzDc`@']; mL_addEncodedPolylines(mapID, dPoly, [["#FF0000", 4, 0.4, "#ccc", 0.0]]); if (dPoly.length>0) mL_setMapWindowFromPolysBounds(mapID); else if (latTab.length == 1) mL_setInitialLocation(mapID,latTab[0], lonTab[0], 10); else mL_setMapWindowFromMarkersBounds(mapID); } function load() { if (latTab.length > 0) mL_LoadMapJS(loadOMAP, 1); else document.getElementById("mapCSTS").style.display="none"; } //]]> </script> </head> <script type="text/javascript" src="https://pics3.city-data.com/js/city_graphing.js"></script> <body> <div id="top_menu" class="navbar-wrapper"><div class="navbar navbar-inverse navbar-fixed-top" role="navigation"><div class="container-menu"><div class="navbar-header"> <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <a class="navbar-brand" href="/"><div title="city-data.com" class="logo1" style="height:30px; width: 180px;"></div></a> <a class="navbar-brand" href="/"><div title="city-data.com" class="logo2" style="height:30px; width: 33px;"></div></a></div><div class="navbar-collapse collapse"><ul id="menu_visible" class="nav navbar-nav"> <li id="menu_item_01"><a href="//www.city-data.com/forum/"> <i class="icon-chat"></i>Forum</a></li><li id="menu_item_02_drop" class="dropdown sublink_dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown" data-hover="dropdown">Cities <b class="caret"></b></a><ul class="dropdown-menu states-grid-dropdown"><table class="table table-condensed"><tbody><tr><td><a href="/city/Alaska.html">AK</a></td><td><a href="/city/Alabama.html">AL</a></td><td><a href="/city/Arkansas.html">AR</a></td><td><a href="/city/Arizona.html">AZ</a></td><td><a href="/city/California.html">CA</a></td><td><a href="/city/Colorado.html">CO</a></td><td><a href="/city/Connecticut.html">CT</a></td></tr><tr><td><a href="/city/District-of-Columbia.html">DC</a></td><td><a href="/city/Delaware.html">DE</a></td><td><a href="/city/Florida.html">FL</a></td><td><a href="/city/Georgia.html">GA</a></td><td><a href="/city/Hawaii.html">HI</a></td><td><a href="/city/Iowa.html">IA</a></td><td><a href="/city/Idaho.html">ID</a></td></tr><tr><td><a href="/city/Illinois.html">IL</a></td><td><a href="/city/Indiana.html">IN</a></td><td><a href="/city/Kansas.html">KS</a></td><td><a href="/city/Kentucky.html">KY</a></td><td><a href="/city/Louisiana.html">LA</a></td><td><a href="/city/Massachusetts.html">MA</a></td><td><a href="/city/Maryland.html">MD</a></td></tr><tr><td><a href="/city/Maine.html">ME</a></td><td><a href="/city/Michigan.html">MI</a></td><td><a href="/city/Minnesota.html">MN</a></td><td><a href="/city/Missouri.html">MO</a></td><td><a href="/city/Mississippi.html">MS</a></td><td><a href="/city/Montana.html">MT</a></td><td><a href="/city/North-Carolina.html">NC</a></td></tr><tr><td><a href="/city/North-Dakota.html">ND</a></td><td><a href="/city/Nebraska.html">NE</a></td><td><a href="/city/New-Hampshire.html">NH</a></td><td><a href="/city/New-Jersey.html">NJ</a></td><td><a href="/city/New-Mexico.html">NM</a></td><td><a href="/city/Nevada.html">NV</a></td><td><a href="/city/New-York.html">NY</a></td></tr><tr><td><a href="/city/Ohio.html">OH</a></td><td><a href="/city/Oklahoma.html">OK</a></td><td><a href="/city/Oregon.html">OR</a></td><td><a href="/city/Pennsylvania.html">PA</a></td><td><a href="/city/Rhode-Island.html">RI</a></td><td><a href="/city/South-Carolina.html">SC</a></td><td><a href="/city/South-Dakota.html">SD</a></td></tr><tr><td><a href="/city/Tennessee.html">TN</a></td><td><a href="/city/Texas.html">TX</a></td><td><a href="/city/Utah.html">UT</a></td><td><a href="/city/Virginia.html">VA</a></td><td><a href="/city/Vermont.html">VT</a></td><td><a href="/city/Washington.html">WA</a></td><td><a href="/city/Wisconsin.html">WI</a></td></tr><tr><td><a href="/city/West-Virginia.html">WV</a></td><td><a href="/city/Wyoming.html">WY</a></td><td></td><td></td><td></td><td></td><td></td></tr></tbody></table></ul></li><li id="menu_item_02" class="sublink_short"><a href="//www.city-data.com/indexes/cities/">Cities</a></li><li id="menu_item_03_drop" class="dropdown sublink_dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown" data-hover="dropdown">Schools <b class="caret"></b></a><ul class="dropdown-menu states-grid-dropdown"><table class="table table-condensed"><tbody><tr><td><a href="/schools-dirs/schools-AK.html">AK</a></td><td><a href="/schools-dirs/schools-AL.html">AL</a></td><td><a href="/schools-dirs/schools-AR.html">AR</a></td><td><a href="/schools-dirs/schools-AZ.html">AZ</a></td><td><a href="/schools-dirs/schools-CA.html">CA</a></td><td><a href="/schools-dirs/schools-CO.html">CO</a></td><td><a href="/schools-dirs/schools-CT.html">CT</a></td></tr><tr><td><a href="/schools-dirs/schools-DE.html">DE</a></td><td><a href="/schools-dirs/schools-FL.html">FL</a></td><td><a href="/schools-dirs/schools-GA.html">GA</a></td><td><a href="/schools-dirs/schools-HI.html">HI</a></td><td><a href="/schools-dirs/schools-IA.html">IA</a></td><td><a href="/schools-dirs/schools-ID.html">ID</a></td><td><a href="/schools-dirs/schools-IL.html">IL</a></td></tr><tr><td><a href="/schools-dirs/schools-IN.html">IN</a></td><td><a href="/schools-dirs/schools-KS.html">KS</a></td><td><a href="/schools-dirs/schools-KY.html">KY</a></td><td><a href="/schools-dirs/schools-LA.html">LA</a></td><td><a href="/schools-dirs/schools-MA.html">MA</a></td><td><a href="/schools-dirs/schools-ME.html">ME</a></td><td><a href="/schools-dirs/schools-MI.html">MI</a></td></tr><tr><td><a href="/schools-dirs/schools-MN.html">MN</a></td><td><a href="/schools-dirs/schools-MO.html">MO</a></td><td><a href="/schools-dirs/schools-MS.html">MS</a></td><td><a href="/schools-dirs/schools-MT.html">MT</a></td><td><a href="/schools-dirs/schools-NC.html">NC</a></td><td><a href="/schools-dirs/schools-ND.html">ND</a></td><td><a href="/schools-dirs/schools-NE.html">NE</a></td></tr><tr><td><a href="/schools-dirs/schools-NH.html">NH</a></td><td><a href="/schools-dirs/schools-NJ.html">NJ</a></td><td><a href="/schools-dirs/schools-NM.html">NM</a></td><td><a href="/schools-dirs/schools-NV.html">NV</a></td><td><a href="/schools-dirs/schools-NY.html">NY</a></td><td><a href="/schools-dirs/schools-OH.html">OH</a></td><td><a href="/schools-dirs/schools-OK.html">OK</a></td></tr><tr><td><a href="/schools-dirs/schools-OR.html">OR</a></td><td><a href="/schools-dirs/schools-PA.html">PA</a></td><td><a href="/schools-dirs/schools-RI.html">RI</a></td><td><a href="/schools-dirs/schools-SC.html">SC</a></td><td><a href="/schools-dirs/schools-SD.html">SD</a></td><td><a href="/schools-dirs/schools-TN.html">TN</a></td><td><a href="/schools-dirs/schools-TX.html">TX</a></td></tr><tr><td><a href="/schools-dirs/schools-VA.html">VA</a></td><td><a href="/schools-dirs/schools-VT.html">VT</a></td><td><a href="/schools-dirs/schools-WA.html">WA</a></td><td><a href="/schools-dirs/schools-WI.html">WI</a></td><td><a href="/schools-dirs/schools-WV.html">WV</a></td><td><a href="/schools-dirs/schools-WY.html">WY</a></td><td></td></tr></tbody></table></ul></li><li id="menu_item_03" class="sublink_short"><a href="//www.city-data.com/indexes/schools/">Schools</a></li><li id="menu_item_04_drop" class="dropdown sublink_dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown" data-hover="dropdown">Neighborhoods <b class="caret"></b></a><ul class="dropdown-menu states-grid-dropdown"><table class="table table-condensed"><tbody><tr><td><a href="/indexes/neighborhoods/AK/1/">AK</a></td><td><a href="/indexes/neighborhoods/AL/1/">AL</a></td><td><a href="/indexes/neighborhoods/AR/1/">AR</a></td><td><a href="/indexes/neighborhoods/AZ/1/">AZ</a></td><td><a href="/indexes/neighborhoods/CA/1/">CA</a></td><td><a href="/indexes/neighborhoods/CO/1/">CO</a></td><td><a href="/indexes/neighborhoods/CT/1/">CT</a></td></tr><tr><td><a href="/indexes/neighborhoods/DE/1/">DE</a></td><td><a href="/indexes/neighborhoods/FL/1/">FL</a></td><td><a href="/indexes/neighborhoods/GA/1/">GA</a></td><td><a href="/indexes/neighborhoods/HI/1/">HI</a></td><td><a href="/indexes/neighborhoods/IA/1/">IA</a></td><td><a href="/indexes/neighborhoods/ID/1/">ID</a></td><td><a href="/indexes/neighborhoods/IL/1/">IL</a></td></tr><tr><td><a href="/indexes/neighborhoods/IN/1/">IN</a></td><td><a href="/indexes/neighborhoods/KS/1/">KS</a></td><td><a href="/indexes/neighborhoods/KY/1/">KY</a></td><td><a href="/indexes/neighborhoods/LA/1/">LA</a></td><td><a href="/indexes/neighborhoods/MA/1/">MA</a></td><td><a href="/indexes/neighborhoods/ME/1/">ME</a></td><td><a href="/indexes/neighborhoods/MI/1/">MI</a></td></tr><tr><td><a href="/indexes/neighborhoods/MN/1/">MN</a></td><td><a href="/indexes/neighborhoods/MO/1/">MO</a></td><td><a href="/indexes/neighborhoods/MS/1/">MS</a></td><td><a href="/indexes/neighborhoods/MT/1/">MT</a></td><td><a href="/indexes/neighborhoods/NC/1/">NC</a></td><td><a href="/indexes/neighborhoods/ND/1/">ND</a></td><td><a href="/indexes/neighborhoods/NE/1/">NE</a></td></tr><tr><td><a href="/indexes/neighborhoods/NH/1/">NH</a></td><td><a href="/indexes/neighborhoods/NJ/1/">NJ</a></td><td><a href="/indexes/neighborhoods/NM/1/">NM</a></td><td><a href="/indexes/neighborhoods/NV/1/">NV</a></td><td><a href="/indexes/neighborhoods/NY/1/">NY</a></td><td><a href="/indexes/neighborhoods/OH/1/">OH</a></td><td><a href="/indexes/neighborhoods/OK/1/">OK</a></td></tr><tr><td><a href="/indexes/neighborhoods/OR/1/">OR</a></td><td><a href="/indexes/neighborhoods/PA/1/">PA</a></td><td><a href="/indexes/neighborhoods/RI/1/">RI</a></td><td><a href="/indexes/neighborhoods/SC/1/">SC</a></td><td><a href="/indexes/neighborhoods/SD/1/">SD</a></td><td><a href="/indexes/neighborhoods/TN/1/">TN</a></td><td><a href="/indexes/neighborhoods/TX/1/">TX</a></td></tr><tr><td><a href="/indexes/neighborhoods/VA/1/">VA</a></td><td><a href="/indexes/neighborhoods/VT/1/">VT</a></td><td><a href="/indexes/neighborhoods/WA/1/">WA</a></td><td><a href="/indexes/neighborhoods/WI/1/">WI</a></td><td><a href="/indexes/neighborhoods/WV/1/">WV</a></td><td><a href="/indexes/neighborhoods/WY/1/">WY</a></td><td></td></tr></tbody></table></ul></li><li id="menu_item_04" class="sublink_short"><a href="//www.city-data.com/indexes/neighborhoods/">Neighborhoods</a></li><li id="menu_item_05_drop" class="dropdown sublink_dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown" data-hover="dropdown">Assessments <b class="caret"></b></a><ul class="dropdown-menu states-grid-dropdown"><table class="table table-condensed"><tbody><tr><td><a href="/properties-index/Alabama.html">AL</a></td><td><a href="/properties-index/Arizona.html">AZ</a></td><td><a href="/properties-index/California.html">CA</a></td><td><a href="/properties-index/Colorado.html">CO</a></td><td><a href="/properties-index/Connecticut.html">CT</a></td><td><a href="/properties-index/Delaware.html">DE</a></td><td><a href="/properties-index/Florida.html">FL</a></td></tr><tr><td><a href="/properties-index/Georgia.html">GA</a></td><td><a href="/properties-index/Hawaii.html">HI</a></td><td><a href="/properties-index/Iowa.html">IA</a></td><td><a href="/properties-index/Idaho.html">ID</a></td><td><a href="/properties-index/Illinois.html">IL</a></td><td><a href="/properties-index/Indiana.html">IN</a></td><td><a href="/properties-index/Kansas.html">KS</a></td></tr><tr><td><a href="/properties-index/Louisiana.html">LA</a></td><td><a href="/properties-index/Massachusetts.html">MA</a></td><td><a href="/properties-index/Maryland.html">MD</a></td><td><a href="/properties-index/Michigan.html">MI</a></td><td><a href="/properties-index/Minnesota.html">MN</a></td><td><a href="/properties-index/Missouri.html">MO</a></td><td><a href="/properties-index/North-Carolina.html">NC</a></td></tr><tr><td><a href="/properties-index/Nebraska.html">NE</a></td><td><a href="/properties-index/New-Jersey.html">NJ</a></td><td><a href="/properties-index/New-Mexico.html">NM</a></td><td><a href="/properties-index/Nevada.html">NV</a></td><td><a href="/properties-index/New-York.html">NY</a></td><td><a href="/properties-index/Ohio.html">OH</a></td><td><a href="/properties-index/Oklahoma.html">OK</a></td></tr><tr><td><a href="/properties-index/Oregon.html">OR</a></td><td><a href="/properties-index/Pennsylvania.html">PA</a></td><td><a href="/properties-index/Rhode-Island.html">RI</a></td><td><a href="/properties-index/South-Carolina.html">SC</a></td><td><a href="/properties-index/Tennessee.html">TN</a></td><td><a href="/properties-index/Texas.html">TX</a></td><td><a href="/properties-index/Utah.html">UT</a></td></tr><tr><td><a href="/properties-index/Virginia.html">VA</a></td><td><a href="/properties-index/Washington.html">WA</a></td><td><a href="/properties-index/Wisconsin.html">WI</a></td><td><a href="/properties-index/West-Virginia.html">WV</a></td><td></td><td></td><td></td></tr></tbody></table></ul></li><li id="menu_item_05" class="sublink_short"><a href="//www.city-data.com/indexes/assessments/">Assessments</a></li><li id="menu_dropdown_li" class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown" data-hover="dropdown">More <b class="caret"></b></a><ul id="menu_dropdown" class="dropdown-menu"><li id="menu_item_11_drop" class="dropdown sublink_dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown" data-hover="dropdown">Restaurants <b class="caret"></b></a><ul class="dropdown-menu states-grid-dropdown"><table class="table table-condensed"><tbody><tr><td><a href="/restaurants-index/Alabama.html">AL</a></td><td><a href="/restaurants-index/California.html">CA</a></td><td><a href="/restaurants/CO/">CO</a></td><td><a href="/dc-restaurants/">DC</a></td><td><a href="/de-restaurants/">DE</a></td><td><a href="/restaurants/FL/">FL</a></td><td><a href="/restaurants-index/Georgia.html">GA</a></td></tr><tr><td><a href="/ia-restaurants/">IA</a></td><td><a href="/id-restaurants/">ID</a></td><td><a href="/restaurants-index/Illinois.html">IL</a></td><td><a href="/restaurants-index/Indiana.html">IN</a></td><td><a href="/ks-restaurants/">KS</a></td><td><a href="/ky-restaurants/">KY</a></td><td><a href="/la-restaurants/">LA</a></td></tr><tr><td><a href="/restaurants-index/Maryland.html">MD</a></td><td><a href="/me-restaurants/">ME</a></td><td><a href="/restaurants-index/Michigan.html">MI</a></td><td><a href="/restaurants-index/Minnesota.html">MN</a></td><td><a href="/restaurants-index/North-Carolina.html">NC</a></td><td><a href="/restaurants-index/Nebraska.html">NE</a></td><td><a href="/restaurants-index/New-Hampshire.html">NH</a></td></tr><tr><td><a href="/restaurants-index/New-Jersey.html">NJ</a></td><td><a href="/restaurants-index/Nevada.html">NV</a></td><td><a href="/restaurants-index/New-York.html">NY</a></td><td><a href="/restaurants-index/Ohio.html">OH</a></td><td><a href="/ok-restaurants/">OK</a></td><td><a href="/restaurants/OR/">OR</a></td><td><a href="/restaurants/PA/">PA</a></td></tr><tr><td><a href="/sc-restaurants/">SC</a></td><td><a href="/restaurants/TN/">TN</a></td><td><a href="/restaurants-index/Texas.html">TX</a></td><td><a href="/restaurants-index/Utah.html">UT</a></td><td><a href="/va-restaurants/">VA</a></td><td><a href="/restaurants-index/Washington.html">WA</a></td><td><a href="/restaurants-index/Wisconsin.html">WI</a></td></tr></tbody></table></ul></li><li id="menu_item_11" class="sublink_short"><a href="//www.city-data.com/indexes/restaurants/">Restaurants</a></li><li id="menu_item_12_drop" class="dropdown sublink_dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown" data-hover="dropdown">Sex Offenders <b class="caret"></b></a><ul class="dropdown-menu states-grid-dropdown"><table class="table table-condensed"><tbody><tr><td><a href="/so/Alaska.html">AK</a></td><td><a href="/so/Alabama.html">AL</a></td><td><a href="/so/Arkansas.html">AR</a></td><td><a href="/so/Arizona.html">AZ</a></td><td><a href="/so/California.html">CA</a></td><td><a href="/so/Colorado.html">CO</a></td><td><a href="/so/Connecticut.html">CT</a></td></tr><tr><td><a href="/so/District-of-Columbia.html">DC</a></td><td><a href="/so/Delaware.html">DE</a></td><td><a href="/so/Florida.html">FL</a></td><td><a href="/so/Georgia.html">GA</a></td><td><a href="/so/Hawaii.html">HI</a></td><td><a href="/so/Iowa.html">IA</a></td><td><a href="/so/Idaho.html">ID</a></td></tr><tr><td><a href="/so/Illinois.html">IL</a></td><td><a href="/so/Indiana.html">IN</a></td><td><a href="/so/Kansas.html">KS</a></td><td><a href="/so/Kentucky.html">KY</a></td><td><a href="/so/Louisiana.html">LA</a></td><td><a href="/so/Massachusetts.html">MA</a></td><td><a href="/so/Maryland.html">MD</a></td></tr><tr><td><a href="/so/Maine.html">ME</a></td><td><a href="/so/Michigan.html">MI</a></td><td><a href="/so/Minnesota.html">MN</a></td><td><a href="/so/Missouri.html">MO</a></td><td><a href="/so/Mississippi.html">MS</a></td><td><a href="/so/Montana.html">MT</a></td><td><a href="/so/North-Carolina.html">NC</a></td></tr><tr><td><a href="/so/North-Dakota.html">ND</a></td><td><a href="/so/Nebraska.html">NE</a></td><td><a href="/so/New-Hampshire.html">NH</a></td><td><a href="/so/New-Jersey.html">NJ</a></td><td><a href="/so/New-Mexico.html">NM</a></td><td><a href="/so/Nevada.html">NV</a></td><td><a href="/so/New-York.html">NY</a></td></tr><tr><td><a href="/so/Ohio.html">OH</a></td><td><a href="/so/Oklahoma.html">OK</a></td><td><a href="/so/Oregon.html">OR</a></td><td><a href="/so/Pennsylvania.html">PA</a></td><td><a href="/so/Rhode-Island.html">RI</a></td><td><a href="/so/South-Carolina.html">SC</a></td><td><a href="/so/South-Dakota.html">SD</a></td></tr><tr><td><a href="/so/Tennessee.html">TN</a></td><td><a href="/so/Texas.html">TX</a></td><td><a href="/so/Utah.html">UT</a></td><td><a href="/so/Virginia.html">VA</a></td><td><a href="/so/Vermont.html">VT</a></td><td><a href="/so/Washington.html">WA</a></td><td><a href="/so/Wisconsin.html">WI</a></td></tr><tr><td><a href="/so/West-Virginia.html">WV</a></td><td><a href="/so/Wyoming.html">WY</a></td><td></td><td></td><td></td><td></td><td></td></tr></tbody></table></ul></li><li id="menu_item_12" class="sublink_short"><a href="//www.city-data.com/so/sexoffenders.html">Sex Offenders</a></li><li id="menu_item_13"><a href="//www.city-data.com/blog/">Blog</a></li><li id="menu_item_14_drop" class="dropdown sublink_dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown" data-hover="dropdown">Canada <b class="caret"></b></a><ul class="dropdown-menu states-grid-dropdown"><table class="table table-condensed"><tbody><tr><td><a href="/canada/Alberta-Index.html">AB</a></td><td><a href="/canada/British-Columbia-Index.html">BC</a></td><td><a href="/canada/Manitoba-Index.html">MB</a></td><td><a href="/canada/New-Brunswick-Index.html">NB</a></td><td><a href="/canada/Newfoundland-and-Labrador-Index.html">NL</a></td><td><a href="/canada/Nova-Scotia-Index.html">NS</a></td><td><a href="/canada/Northwest-Territories-Index.html">NT</a></td></tr><tr><td><a href="/canada/Nunavut-Index.html">NU</a></td><td><a href="/canada/Ontario-Index.html">ON</a></td><td><a href="/canada/Prince-Edward-Island-Index.html">PE</a></td><td><a href="/canada/Quebec-Index.html">QC</a></td><td><a href="/canada/Saskatchewan-Index.html">SK</a></td><td><a href="/canada/Yukon-Territory-Index.html">YT</a></td><td></td></tr></tbody></table></ul></li><li id="menu_item_14" class="sublink_short"><a href="//www.city-data.com/indexes/canada/">Canada</a></li> <li id="menu_item_16"><a href="//www.city-data.com/sf-permits/">Building Permits Filed</a></li><li id="menu_item_17"><a href="//www.city-data.com/guides/">City Guides</a></li><li id="menu_item_18"><a href="//www.city-data.com/articles/">Tourist Attractions Articles</a></li><li id="menu_item_19"><a href="//www.city-data.com/banks/">Banks</a></li> <li id="menu_item_20"><a href="//www.city-data.com/coronavirus/">Covid-19</a></li> <li id="menu_item_110"><a href="//www.city-data.com/crime/">Crime</a></li><li id="menu_item_111"><a href="//www.city-data.com/work/">Work and Jobs</a></li><li id="menu_item_112"><a href="//www.city-data.com/housingDir2.html">Houses, Apartments</a></li><li id="menu_item_113"><a href="//www.city-data.com/cemeteries/index.php">U.S. Cemeteries</a></li><li id="menu_item_114"><a href="//www.city-data.com/zipDir.html">Zip Codes</a></li></ul></li></ul> <form id="search_bar_menu" class="navbar-form navbar-right" role="search" action="//www.city-data.com/cityname2.php" method="post"> <a id="menu_search_icon" href="#"><i class="icon-search"> </i> </a> <input name="NM" type="search" id="menu_search" class="form-control" /><div class="googledrop"><p><img alt="google custom search" width="65" height="24" id="search_o_google" src="//pics3.city-data.com/assets/common/google_custom_search_smnar.gif"/> Jump to a detailed profile, search site with google or try <a href="/advanced/search.php" class="navlink"><span class="glyphicon glyphicon-cog"> </span> advanced search</a></p></div></form> </div></div></div></div> <div class="scroll-top-wrapper "> <span class="scroll-top-inner"> <i class="glyphicon glyphicon-circle-arrow-up"></i> </span> </div> <!-- Google tag (gtag.js) --> <script async src="https://www.googletagmanager.com/gtag/js?id=G-VPW5MZTH4E"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-VPW5MZTH4E'); </script> <script> var _paq = window._paq = window._paq || []; _paq.push(['trackPageView']); _paq.push(['enableLinkTracking']); (function() { var u="/a/"; _paq.push(['setTrackerUrl', u+'util.php']); _paq.push(['setSiteId', '1']); var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; g.async=true; g.src=u+'util.js'; s.parentNode.insertBefore(g,s); })(); </script> <ol id="backlinks" class="breadcrumb"> <li><a href="/">All Cities</a></li> <li><a href="/canada/index.html">Canada</a></li> <li class='active'>Prince Edward Island Agglomerations, Cities and Towns</li> </ol> <h1 class="city"><span>Prince Edward Island Agglomerations, Cities and Towns</span></h1> <center> </center> <div class='container-fluid'> <div class='row'> <div id="mapCSTS" style='border: 2px solid #aaa; width: 100%; margin: 0px auto;background: #EEE;'> <div id="mapST"><div id='loading'>Loading map, please wait...<br/><br/><img src='https://pics3.city-data.com/loading.gif' height='80px' width='80px' /></div></div> <div id='gDirections' style='clear: both; margin-top: 20px;'></div> </div> <br> </div> <div class='row'> <div class='col-md-8'> <div id='cityLIST' style='width:100%;'> <select id='citySize' autocomplete='off' onchange='ToggleCities(this.value);' style='width: 70%;'> <option value='all' selected>All Agglomerations, Cities and Towns</option> <option style='font-size: 0.9em;' value='1'>Agglomerations</option> <option style='font-size: 0.9em;' value='2'>Cities</option> <option style='font-size: 0.9em;' value='3'>Towns</option> </select><br> <span style='font-size: 0.9em;color: #666; font-weight: bold;'>Name: </span><form style='display: inline; margin-left:10px;' onsubmit='FilterCities();return false;'><input name='filter' id='filter' type='text' style='width: 60%;' autocomplete='off' onkeyup='FilterCities();'/></form> <table class='cityTAB sortable' id='cityTAB'> <thead><tr bgColor='gainsboro' class='head'><th class='nosort' style='padding-left: 18px;'>Map</th><th><h4>Name</h4></th><th><h4>Type</h4></th><th><h4>Population</h4></th></tr></thead> <tbody> <tr class='r3' id='0'><td onclick='c(0);'><p></p></td><td><a href="Alberton-Town-1.html">Alberton</a></td><td>Town</td><td>1,135</td></tr> <tr class='r1' id='1'><td onclick='c(1);'><p></p></td><td><a href="Charlottetown-Index.html">Charlottetown</a></td><td>Agglomeration</td><td>64,487</td></tr> <tr class='r2' id='2'><td onclick='c(2);'><p></p></td><td><a href="Charlottetown-City.html">Charlottetown</a></td><td>City</td><td>34,562</td></tr> <tr class='r3' id='3'><td onclick='c(3);'><p></p></td><td><a href="Cornwall-Town.html">Cornwall</a></td><td>Town</td><td>5,162</td></tr> <tr class='r3' id='4'><td onclick='c(4);'><p></p></td><td><a href="Georgetown-Town.html">Georgetown</a></td><td>Town</td><td>675</td></tr> <tr class='r3' id='5'><td onclick='c(5);'><p></p></td><td><a href="Kensington-Town.html">Kensington</a></td><td>Town</td><td>1,496</td></tr> <tr class='r3' id='6'><td onclick='c(6);'><p></p></td><td><a href="Montague-Town-1.html">Montague</a></td><td>Town</td><td>1,895</td></tr> <tr class='r3' id='7'><td onclick='c(7);'><p></p></td><td><a href="Souris-Town-1.html">Souris</a></td><td>Town</td><td>1,173</td></tr> <tr class='r3' id='8'><td onclick='c(8);'><p></p></td><td><a href="Stratford-Town.html">Stratford</a></td><td>Town</td><td>8,574</td></tr> <tr class='r1' id='9'><td onclick='c(9);'><p></p></td><td><a href="Summerside.html">Summerside</a></td><td>Agglomeration</td><td>16,488</td></tr> <tr class='r2' id='10'><td onclick='c(10);'><p></p></td><td><a href="Summerside-City.html">Summerside</a></td><td>City</td><td>14,751</td></tr> </tbody> </table> </div> </div> <div class='col-md-4'> <!-- search_box --> <br/> <center><div class='search_box1div'><script type='text/javascript'> <!-- function clear_citysearch(c, deftext, blur){if (c) {if (c.value == deftext && !blur) c.value = '';if (c.value == '' && blur) c.value = deftext;c.style.color = (c.value == deftext) ? 'gray' : 'black'}} function bse(enable){document.getElementById("bssubmit").disabled=enable;} --> </script> <table class="search_box1" border='0' align='center' cellspacing='4'><tr><td style='border:none;width:350px;'><form action='/cityname2.php' method='post'>Jump to <b>a detailed profile</b> or search site with <img src="https://pics3.city-data.com/images/cse-logo.png" alt="Google Custom Search" style="position:absolute;margin-left:5px;border:0;" /><br /> <input name='NM' class='search_box_foruminput' style='width:185px;color:gray;' value='City, County or Zip Code' onfocus='clear_citysearch(this,"City, County or Zip Code",false);' onblur='clear_citysearch(this,"City, County or Zip Code",true);' /> <input type='image' name='B1' value='Find It' src='https://pics3.city-data.com/images/find.s.png' /></form></td></tr></table><table class="search_box1" border='0' align='center' cellspacing='4'><tr><td style='border:none;width:350px;'><b>Business Search</b> <span id='bsinfomsg'>- <b>14 Million</b> verified businesses</span><br /><form method='get' action='https://www.city-data.com/bs/' onsubmit='bse(true);' onchange='bse(false);'>Search for: <input class='bs_input' name='q' value='' onchange='bse(false);' /> near: <input class='bs_input' name='w' value='' onchange='bse(false);' /><input type='image' id ='bssubmit' name='bssubmit' value='Find It' src='https://pics3.city-data.com/images/find.s.png' /></form></td></tr></table></div></center> <!-- /search_box --> <strong><a href="Prince-Edward-Island.html">Detailed Prince Edward Island profile</a></strong><br><br> See more<br><ul><li><a href="Prince-Edward-Island-Subdivisions.html">Communities, Indian lands and Municipalities</a></li> <li><a href="Prince-Edward-Island-Census-divisions.html">Census divisions</a></li> <li><a href="Prince-Edward-Island-Economic-Regions.html">Economic Regions</a></li> <li><a href="Prince-Edward-Island-Federal-Electoral-Districts.html">Federal Electoral Districts</a></li> <li><a href="Prince-Edward-Island-Health-regions.html">Health regions</a></li> <li><a href="Prince-Edward-Island-Population-Centres.html">Population Centres</a></li> </ul>located in Prince Edward Island <p align="left"> </p> <p align="left"> </p> </div> </div> <div class='row'> <br><br> <OTHER_DIRS> <!-- search_box --> <center><div class='search_box1div'><script type='text/javascript'> <!-- function clear_citysearch(c, deftext, blur){if (c) {if (c.value == deftext && !blur) c.value = '';if (c.value == '' && blur) c.value = deftext;c.style.color = (c.value == deftext) ? 'gray' : 'black'}} function bse(enable){document.getElementById("bssubmit").disabled=enable;} --> </script> <table class="search_box1" border='0' align='center' cellspacing='4'><tr><td style='border:none;width:330px;'><form action='/cityname2.php' method='post'>Jump to <b>a detailed profile</b> or search site with <img src="https://pics3.city-data.com/images/cse-logo.png" alt="Google Custom Search" style="position:absolute;margin-left:5px;border:0;" /><br /> <input name='NM' class='search_box_foruminput' style='width:185px;color:gray;' value='City, County or Zip Code' onfocus='clear_citysearch(this,"City, County or Zip Code",false);' onblur='clear_citysearch(this,"City, County or Zip Code",true);' /> <input type='image' name='B1' value='Find It' src='https://pics3.city-data.com/images/find.s.png' /></form></td><td><b>Business Search</b> <span id='bsinfomsg'>- <b>14 Million</b> verified businesses</span><br /><form method='get' action='https://www.city-data.com/bs/' onsubmit='bse(true);' onchange='bse(false);'>Search for: <input class='bs_input' name='q' value='' onchange='bse(false);' />near: <input class='bs_input' name='w' value='' onchange='bse(false);' /><input type='image' id ='bssubmit' name='bssubmit' value='Find It' src='https://pics3.city-data.com/images/find.s.png' /></form></td></tr></table></div></center> <!-- /search_box --> <p align="left"><font face="Arial">More data: <a href="/zipDir.html">Zip Codes</a>, <a href="/countyDir.html">Counties</a>, <a href="/econDir.html">Businesses</a>, <a href="/housingDir.html">Houses</a>, <a HREF="/forecast/wstates.html">Weather Forecasts</a></font></p> </div> <ol class="breadcrumb"> <li><a href="/">All Cities</a></li> <li><a href="/canada/index.html">Canada</a></li> <li class='active'>Prince Edward Island Agglomerations, Cities and Towns</li> </ol> <div align="center">City-data.com does not guarantee the accuracy or timeliness of any information on this site. Use at your own risk. <br> Some parts © 2003-2024 Advameg, Inc.</div> </div> <div class="device-xs visible-xs"></div> <div class="device-sm visible-sm"></div> <div class="device-md visible-md"></div> <div class="device-lg visible-lg"></div> <script crossorigin="anonymous" src="//ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script> <script> // Fall back to a local copy of jQuery if the CDN fails window.jQuery || document.write('<script src="//pics3.city-data.com/js/jquery.min.js"><\/script>'); window.jQueryQueue = window.jQueryQueue || []; window.jQueryQueue.push = function(func) {func();}; window.jQueryLL = true; </script> <script crossorigin="anonymous" src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js"></script> <script> /*yepnope1.5.x|WTFPL*/ (function(a,b,c){function d(a){return"[object Function]"==o.call(a)}function e(a){return"string"==typeof a}function f(){}function g(a){return!a||"loaded"==a||"complete"==a||"uninitialized"==a}function h(){var a=p.shift();q=1,a?a.t?m(function(){("c"==a.t?B.injectCss:B.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),h()):q=0}function i(a,c,d,e,f,i,j){function k(b){if(!o&&g(l.readyState)&&(u.r=o=1,!q&&h(),l.onload=l.onreadystatechange=null,b)){"img"!=a&&m(function(){t.removeChild(l)},50);for(var d in y[c])y[c].hasOwnProperty(d)&&y[c][d].onload()}}var j=j||B.errorTimeout,l=b.createElement(a),o=0,r=0,u={t:d,s:c,e:f,a:i,x:j};1===y[c]&&(r=1,y[c]=[]),"object"==a?l.data=c:(l.src=c,l.type=a),l.width=l.height="0",l.onerror=l.onload=l.onreadystatechange=function(){k.call(this,r)},p.splice(e,0,u),"img"!=a&&(r||2===y[c]?(t.insertBefore(l,s?null:n),m(k,j)):y[c].push(l))}function j(a,b,c,d,f){return q=0,b=b||"j",e(a)?i("c"==b?v:u,a,b,this.i++,c,d,f):(p.splice(this.i++,0,a),1==p.length&&h()),this}function k(){var a=B;return a.loader={load:j,i:0},a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=s?l:n.parentNode,l=a.opera&&"[object Opera]"==o.call(a.opera),l=!!b.attachEvent&&!l,u=r?"object":l?"script":"img",v=l?"script":u,w=Array.isArray||function(a){return"[object Array]"==o.call(a)},x=[],y={},z={timeout:function(a,b){return b.length&&(a.timeout=b[0]),a}},A,B;B=function(a){function b(a){var a=a.split("!"),b=x.length,c=a.pop(),d=a.length,c={url:c,origUrl:c,prefixes:a},e,f,g;for(f=0;f<d;f++)g=a[f].split("="),(e=z[g.shift()])&&(c=e(c,g));for(f=0;f<b;f++)c=x[f](c);return c}function g(a,e,f,g,h){var i=b(a),j=i.autoCallback;i.url.split(".").pop().split("?").shift(),i.bypass||(e&&(e=d(e)?e:e[a]||e[g]||e[a.split("/").pop().split("?")[0]]),i.instead?i.instead(a,e,f,g,h):(y[i.url]?i.noexec=!0:y[i.url]=1,f.load(i.url,i.forceCSS||!i.forceJS&&"css"==i.url.split(".").pop().split("?").shift()?"c":c,i.noexec,i.attrs,i.timeout),(d(e)||d(j))&&f.load(function(){k(),e&&e(i.origUrl,h,g),j&&j(i.origUrl,h,g),y[i.url]=2})))}function h(a,b){function c(a,c){if(a){if(e(a))c||(j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}),g(a,j,b,0,h);else if(Object(a)===a)for(n in m=function(){var b=0,c;for(c in a)a.hasOwnProperty(c)&&b++;return b}(),a)a.hasOwnProperty(n)&&(!c&&!--m&&(d(j)?j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}:j[n]=function(a){return function(){var b=[].slice.call(arguments);a&&a.apply(this,b),l()}}(k[n])),g(a[n],j,b,n,h))}else!c&&l()}var h=!!a.test,i=a.load||a.both,j=a.callback||f,k=j,l=a.complete||f,m,n;c(h?a.yep:a.nope,!!i),i&&c(i)}var i,j,l=this.yepnope.loader;if(e(a))g(a,0,l,0);else if(w(a))for(i=0;i<a.length;i++)j=a[i],e(j)?g(j,0,l,0):w(j)?B(j):Object(j)===j&&h(j,l);else Object(a)===a&&h(a,l)},B.addPrefix=function(a,b){z[a]=b},B.addFilter=function(a){x.push(a)},B.errorTimeout=1e4,null==b.readyState&&b.addEventListener&&(b.readyState="loading",b.addEventListener("DOMContentLoaded",A=function(){b.removeEventListener("DOMContentLoaded",A,0),b.readyState="complete"},0)),a.yepnope=k(),a.yepnope.executeStack=h,a.yepnope.injectJs=function(a,c,d,e,i,j){var k=b.createElement("script"),l,o,e=e||B.errorTimeout;k.src=a;for(o in d)k.setAttribute(o,d[o]);c=j?h:c||f,k.onreadystatechange=k.onload=function(){!l&&g(k.readyState)&&(l=1,c(),k.onload=k.onreadystatechange=null)},m(function(){l||(l=1,c(1))},e),i?k.onload():n.parentNode.insertBefore(k,n)},a.yepnope.injectCss=function(a,c,d,e,g,i){var e=b.createElement("link"),j,c=i?h:c||f;e.href=a,e.rel="stylesheet",e.type="text/css";for(j in d)e.setAttribute(j,d[j]);g||(n.parentNode.insertBefore(e,n),m(c,0))}})(this,document);/*! Lazy Load 1.9.3 - MIT license - Copyright 2010-2013 Mika Tuupola */ !function(a,b,c,d){var e=a(b);a.fn.lazyload=function(f){function g(){var b=0;i.each(function(){var c=a(this);if(!j.skip_invisible||c.is(":visible"))if(a.abovethetop(this,j)||a.leftofbegin(this,j));else if(a.belowthefold(this,j)||a.rightoffold(this,j)){if(++b>j.failure_limit)return!1}else c.trigger("appear"),b=0})}var h,i=this,j={threshold:0,failure_limit:0,event:"scroll",effect:"show",container:b,data_attribute:"original",skip_invisible:!0,appear:null,load:null,placeholder:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB/AAffA0nNPuCLAAAAAElFTkSuQmCC"};return f&&(d!==f.failurelimit&&(f.failure_limit=f.failurelimit,delete f.failurelimit),d!==f.effectspeed&&(f.effect_speed=f.effectspeed,delete f.effectspeed),a.extend(j,f)),h=j.container===d||j.container===b?e:a(j.container),0===j.event.indexOf("scroll")&&h.bind(j.event,function(){return g()}),this.each(function(){var b=this,c=a(b);b.loaded=!1,(c.attr("src")===d||c.attr("src")===!1)&&c.is("img")&&c.attr("src",j.placeholder),c.one("appear",function(){if(!this.loaded){if(j.appear){var d=i.length;j.appear.call(b,d,j)}a("<img />").bind("load",function(){var d=c.attr("data-"+j.data_attribute);c.hide(),c.is("img")?c.attr("src",d):c.css("background-image","url('"+d+"')"),c[j.effect](j.effect_speed),b.loaded=!0;var e=a.grep(i,function(a){return!a.loaded});if(i=a(e),j.load){var f=i.length;j.load.call(b,f,j)}}).attr("src",c.attr("data-"+j.data_attribute))}}),0!==j.event.indexOf("scroll")&&c.bind(j.event,function(){b.loaded||c.trigger("appear")})}),e.bind("resize",function(){g()}),/(?:iphone|ipod|ipad).*os 5/gi.test(navigator.appVersion)&&e.bind("pageshow",function(b){b.originalEvent&&b.originalEvent.persisted&&i.each(function(){a(this).trigger("appear")})}),a(c).ready(function(){g()}),this},a.belowthefold=function(c,f){var g;return g=f.container===d||f.container===b?(b.innerHeight?b.innerHeight:e.height())+e.scrollTop():a(f.container).offset().top+a(f.container).height(),g<=a(c).offset().top-f.threshold},a.rightoffold=function(c,f){var g;return g=f.container===d||f.container===b?e.width()+e.scrollLeft():a(f.container).offset().left+a(f.container).width(),g<=a(c).offset().left-f.threshold},a.abovethetop=function(c,f){var g;return g=f.container===d||f.container===b?e.scrollTop():a(f.container).offset().top,g>=a(c).offset().top+f.threshold+a(c).height()},a.leftofbegin=function(c,f){var g;return g=f.container===d||f.container===b?e.scrollLeft():a(f.container).offset().left,g>=a(c).offset().left+f.threshold+a(c).width()},a.inviewport=function(b,c){return!(a.rightoffold(b,c)||a.leftofbegin(b,c)||a.belowthefold(b,c)||a.abovethetop(b,c))},a.extend(a.expr[":"],{"below-the-fold":function(b){return a.belowthefold(b,{threshold:0})},"above-the-top":function(b){return!a.belowthefold(b,{threshold:0})},"right-of-screen":function(b){return a.rightoffold(b,{threshold:0})},"left-of-screen":function(b){return!a.rightoffold(b,{threshold:0})},"in-viewport":function(b){return a.inviewport(b,{threshold:0})},"above-the-fold":function(b){return!a.belowthefold(b,{threshold:0})},"right-of-fold":function(b){return a.rightoffold(b,{threshold:0})},"left-of-fold":function(b){return!a.rightoffold(b,{threshold:0})}})}(jQuery,window,document); function isBootstrapBreakpoint( alias ) {return $('.device-' + alias).css("display") != "none";} </script> <script> var waitForFinalEvent=(function(){var timers={};return function(callback,ms,uniqueId){if(!uniqueId){uniqueId="Don't call this twice without a uniqueId";} if(timers[uniqueId]){clearTimeout(timers[uniqueId]);} timers[uniqueId]=setTimeout(callback,ms);};})(); function initLaterMenu() { window.menuRedesign = function() { var menu_more=$('#menu_dropdown'); var menu_visible=$('#menu_visible'); var menu_more_li=$('#menu_dropdown_li'); var menu_container=$(".navbar-fixed-top > .container-menu"); if($(".navbar-toggle").is(":visible")){menu_more.children().insertBefore(menu_more_li);menu_more_li.hide();} else{menu_more_li.show();var available_space=menu_container.width()-$(".navbar-header").outerWidth(true)-$("#search_bar_menu").outerWidth(true)-menu_more_li.outerWidth(true);var children=menu_visible.children();var curr_width=0;var reached_end=false;var i=0;var margin=8;for(;i<children.length;++i) {var ch=$(children[i]);if(ch.prop("id")==menu_more_li.prop("id")) {reached_end=true;break;} if(ch.is(':visible')) curr_width+=ch.outerWidth(true);if(curr_width+margin>available_space) {break;}} if(reached_end) {var children=menu_more.children();for(i=0;i<children.length;++i) {var ch=$(children[i]);ch.insertBefore(menu_more_li);if(ch.is(':visible')) curr_width+=ch.outerWidth(true);if(curr_width+margin>available_space) {ch.prependTo(menu_more);break;}}}else {var topushfront=[];for(;i<children.length;++i) {var ch=$(children[i]);if(ch.prop("id")==menu_more_li.prop("id")) {break;} topushfront.push(ch);} for(i=0;i<topushfront.length;++i) {var ch=$(topushfront[topushfront.length-1-i]);ch.prependTo(menu_more);}}} menu_visible.removeClass("changing");menu_container.removeClass("changing");$(".navbar-collapse").removeClass("changing"); } menuRedesign(); } function initLaterMenuEvents() { $(window).resize(function() { var menu_visible=$('#menu_visible'); var menu_container=$(".navbar-fixed-top > .container-menu"); menu_container.addClass("changing"); menu_visible.addClass("changing"); $(".navbar-collapse").addClass("changing"); waitForFinalEvent(menuRedesign,100,'menu_auto_hide'); }); if('ontouchstart'in document) return this; var $allDropdowns=$(); $.fn.dropdownHover=function(options) { $allDropdowns=$allDropdowns.add(this.parent()); return this.each(function(){var $this=$(this),$parent=$this.parent(),defaults={delay:100,delay2:900,instantlyCloseOthers:false},data={delay:$(this).data('delay'),instantlyCloseOthers:$(this).data('close-others')},showEvent='show.bs.dropdown',hideEvent='hide.bs.dropdown',settings=$.extend(true,{},defaults,options,data),timeout,timeout2;$parent.hover(function(event){if(settings.instantlyCloseOthers===true) $allDropdowns.removeClass('open');window.clearTimeout(timeout2);window.clearTimeout(timeout);$parent.addClass('openning');$parent.removeClass('closing');timeout=window.setTimeout(function(){window.clearTimeout(timeout2);window.clearTimeout(timeout);$parent.addClass('open');$parent.removeClass('openning');},5);},function(){window.clearTimeout(timeout2);window.clearTimeout(timeout);timeout=window.setTimeout(function(){window.clearTimeout(timeout2);window.clearTimeout(timeout);$parent.removeClass('open');$parent.removeClass('opening');$parent.addClass('closing');timeout2=window.setTimeout(function(){$parent.removeClass('closing');$parent.removeClass('opening');window.clearTimeout(timeout2);window.clearTimeout(timeout);},settings.delay2);},settings.delay);});$parent.find('.dropdown-submenu').each(function(){var $this=$(this);var subTimeout;$this.hover(function(){window.clearTimeout(subTimeout);$this.children('.dropdown-menu').show();$this.siblings().children('.dropdown-menu').hide();},function(){var $submenu=$this.children('.dropdown-menu');subTimeout=window.setTimeout(function(){$submenu.hide();},settings.delay);});});}); }; $('[data-hover="dropdown"]').dropdownHover(); } runTask(initLaterMenu, 1); runTask(initLaterMenuEvents, 1); </script> <script>window._gaq=window._gaq||[]; function initLaterMenuSearch() { $("#search_bar_menu").submit(function(event){_gaq.push(['_trackEvent','homepage_searchbox','clicked','']);}); $("#menu_search_icon").click(function(event){$("#search_bar_menu").submit();}); $("#menu_search").focus(function(){$("#search_bar_menu").addClass("showdrop_op1");window.setTimeout(function(){$("#search_bar_menu").addClass("showdrop");},50);}); $("#menu_search").blur(function(){$("#search_bar_menu").removeClass("showdrop");window.setTimeout(function(){$("#search_bar_menu").removeClass("showdrop_op1");},500);}); } runTask(initLaterMenuSearch, 1); </script> <script> function handleScroll() { var sTop = window.pageYOffset || document.documentElement.scrollTop; if (window.lastScrollTop === sTop) return; if (sTop > 100) { if (window.lastScrollTop === void 0 || window.lastScrollTop < 100) scrollTop.className = 'scroll-top-wrapper show'; } else scrollTop.className = 'scroll-top-wrapper'; window.lastScrollTop = sTop; } function scrollToTop() { verticalOffset = typeof(verticalOffset) != 'undefined' ? verticalOffset : 0; element = $('body'); offset = element.offset(); offsetTop = offset.top; $('html, body').animate({scrollTop: offsetTop}, 500, 'linear'); } function initLaterScrollTop() { window.scrollTop = document.querySelector('.scroll-top-wrapper'); runTask(handleScroll,1); var waiting = false, endScrollHandle = void 0; window.addEventListener('scroll', function () { if (waiting) return; waiting = true; // clear previous scheduled endScrollHandle clearTimeout(endScrollHandle); handleScroll(); setTimeout(function () {waiting = false;}, 100); // schedule an extra execution of scroll() after 200ms in case the scrolling stops in next 100ms endScrollHandle = setTimeout(handleScroll, 200); }, supportsPassive); scrollTop.addEventListener('click', scrollToTop); } runTask(initLaterScrollTop,1); </script> <script> (function($) { var delayedCharts = $.Deferred(); var city_graphing = {}; city_graphing.charts = {}; city_graphing.ready = delayedCharts.promise(); var hcLoadSuccessFinal = function() { Highcharts.setOptions({lang: {numericSymbols: [ "k" , "M" , "B" , "T" ]}, credits: {enabled: false}}); if (window.highchartsLoadedCallback !== undefined) window.highchartsLoadedCallback(); jQuery.each(hcq, function(i,e){e()}); hcq={push:function(e){e()}}; delayedCharts.resolve(); }; var hcLoadSuccess = hcLoadSuccessFinal; var hcLoadThenOrig = function() { if (window.Highcharts != void 0) return hcLoadSuccess(); $.ajax( {url: "//pics3.city-data.com/js/highcharts4.js", cache: true, dataType: "script", success: hcLoadSuccess }); }; var hcLoadHmap = function() { $.ajax( {url: "//pics3.city-data.com/js/highcharts4-heatmap.js", cache: true, dataType: "script", success: hcLoadSuccess });}; var hcLoadThenHmap = function() { if (window.Highcharts != void 0) return hcLoadHmap(); $.ajax( {url: "//pics3.city-data.com/js/highcharts4.js", cache: true, dataType: "script", success: hcLoadHmap }); }; var hcLoad = $.Deferred(); hcLoad.then(hcLoadThenOrig); var hcq = []; if (!$.fn.highcharts) $.fn.highcharts = function () { var $this = this; var args = arguments; $this.lazyload({appear: function(){hcLoad.resolve();hcq.push(function(){if (args[0] !== void 0 && args[0].onDraw !== void 0) args[0].onDraw();$this.highcharts(args[0]);});}}); }; city_graphing.hcLoad = hcLoad; window.city_graphing = city_graphing; }(jQuery)); </script> <script> (function(e){var m=function(b,d,a,c){return city_graphing.draw({type:"pie",id:"bg"+b,series:["Value"],values:[d.slice()],labels:a,options:c})},n=function(b,d,a,c,h){return city_graphing.draw({type:"bar",id:"bg"+b,series:d,values:a,labels:c,options:h})},p=function(b,d,a,c,h){return city_graphing.draw({type:"line",id:"bg"+b,series:d,values:a,labels:c,options:h})};city_graphing.draw=function(b){b=v(b);var d=b.chart.renderTo,a=e(document.getElementById(d));if("canvas"===a.prop("tagName").toLowerCase()){var c= e(document.createElement("div"));c.attr("id",d);c.attr("class",a.attr("class"));c.width(a.attr("width"));c.height(a.attr("height"));a.replaceWith(c);a=e(c)}a.highcharts(b)};var v=function(b){var d=b.type,a=b.id,c=b.series,h=b.values,q=b.labels,g=e.extend({},b.options),f={plotOptions:{series:{animation:!1},line:{marker:{enabled:!1}},area:{marker:{enabled:!1}},pie:{allowPointSelect:!0,cursor:"pointer",dataLabels:{enabled:!0,format:"{point.name} ({percentage:.0f}%)",style:{width:"60px",fontSize:"9px"}, distance:20}}},chart:{renderTo:a,type:d},title:{text:null},xAxis:{categories:q},yAxis:{title:{text:null}},tooltip:{useHTML:!0}};b={lineWidth:0,minorGridLineWidth:0,lineColor:"transparent",gridLineColor:"transparent",minorTickLength:0,tickLength:0,labels:{enabled:!1},title:{text:null}};a=c.length;"undefined"===typeof c[a-1]&&--a;f.series=[];for(d=0;d<a;d++)f.series.push({name:c[d],data:h[d]});"pie"===f.chart.type?(c=f.series[0].data.length,e.each(f.series,function(a,b){e.each(b.data,function(a,c){b.data[a]= [q[a],c]})})):c=f.series.length;f.legend={enabled:1<c};e.each(f.series,function(a,b){e.each(b.data,function(a,b){b.hasOwnProperty(1)&&(b=b[1]);b&&Math.round(b)!==b&&(f.tooltip.valueDecimals=1)})});h="undefined"!==typeof g.barOrientation?g.barOrientation:"vertical";"bar"===f.chart.type&&"vertical"===h&&(f.chart.type="column");h=function(b,a){var c={};b.tickPostitions=[];e.each(a,function(a){c[a.v]=a.label;b.tickPositions.push(a.v)});b.label={formater:function(){return c[this.value]}}};"undefined"!== typeof g.xTicks&&g.xTicks&&h(f.xAxis,g.xTicks);"undefined"!==typeof g.yTicks&&g.yTicks&&h(f.yAxis,g.yTicks);g.skipEmpty&&e.each(f.series,function(a,b){e.each(b.data,function(a,c){0==c&&(b.data[a]=null)})});g.skipDraw&&e.each(f.series,function(a,b){e.each(g.skipDraw,function(a,c){b.data[c]=null})});if("undefined"!==typeof g.colorScheme)f.colors=e.map(g.colorScheme,function(a){return a.toString()});else switch(c){case 1:f.colors=["#AE91CF"];break;case 2:f.colors=["#AE91CF","#B4CF91"];break;default:f.colors= "#BEA7D9 #C3D9A7 #FFFA94 #F7B0B0 #8F8FF1 #FFD6AD #ADD6FF #CBFF7E #FFC774 #DDD8B9 #EB8686 #D6AD33".split(" ")}c="undefined"!==typeof g.shouldFill?g.shouldFill:!0;"line"==f.chart.type&&c&&(f.chart.type="area");"undefined"===typeof g.drawXAxis||g.drawXAxis||(f.xAxis=b);"undefined"===typeof g.drawYAxis||g.drawYAxis||(f.yAxis=b);g.customValues&&(b="undefined"!==typeof g.CustomUnit?g.customUnit:"%",e.extend(!0,f,{tooltip:{valueSuffix:b},plotOptions:{pie:{dataLabels:{format:"{point.name} ({y}"+b+")"}}}})); g.forceLegend&&(f.legend.enabled=!0);"undefined"!==typeof g.reorderColors&&(f.colors=e.map(g.reorderColors,function(a){return f.colors[a]}));"undefined"!==typeof g.onDraw&&(f.onDraw=g.onDraw);e.extend(!0,f,g.highcharts);return f};if("undefined"===typeof window.Color){var k=function(b){this.css=b};k.prototype.toString=function(){return this.css};k.fromString=k.fromHexString=k.fromRGBString=function(b){return new k(b)};var r=function(){throw Error("I am just pretending to be Mochikit.Color");};e.each(["fromBackground fromComputedStyle fromHSL fromHSLString fromHSV fromName fromRGB fromText namedColors"], function(b,d){k[d]=r});e.each(["colorWithAlpha colorWithHue colorWithSaturation colorWithLightness darkerColorWithLevel lighterColorWithLevel blendedColor isLight isDark toRGBString toHSLString toHexString asRGB asHSL asHSV"],function(b,d){k.prototype[d]=r});window.Color=k}var w=function(b){var d=document.createElement("style");e("head").append(d);var a;a=d.sheet&&d.sheet.insertRule?function(a,b,e){d.sheet.insertRule(a+"{"+b+"}",e)}:function(a,b,e){d.styleSheet.addRule(a,b,e)};e.each(b,function(b, d){a(d[0],d[1],b)})};e(document).ready(function(){w([["div.hsHidden .highcharts-container *","visibility: hidden !important"]])});var t=function(b,d,a,c,e){if("undefined"==typeof $jit)"undefined"==typeof window.tmQueue&&(window.tmQueue=[]),window.tmQueue.push(function(){tmDraw(b,d,a,c,e)}),"function"!=typeof yitLoadedCallback&&(yitLoadedCallback=function(){for(var a=0;a<window.tmQueue.length;a++)window.tmQueue[a]()},function(){"undefined"==typeof window.jitURL&&(window.jitURL="//pics3.city-data.com/js/jit-yc-packed.js"); var a=document.createElement("script");a.type="text/javascript";a.async=!0;a.src=window.jitURL;(document.getElementsByTagName("head")[0]||document.getElementsByTagName("body")[0]).appendChild(a)}());else return tmDraw(b,d,a,c,e)},u=function(b,d){for(var a,c=[],e=[],k=b.getElementsByTagName("h3")[0].innerHTML.replace(" (per resident)","").replace(":",""),g=b.getElementsByTagName("ul")[0].getElementsByTagName("li"),f=0;f<g.length;f++){a=g[f].childNodes;e.push(a[0].innerHTML.replace(":",""));c.push(a[1].data.replace(/\(\$.*\)/, "").replace(/[,$\n ]/g,""));for(var l=2;l<a.length;l++)"BLOCKQUOTE"==a[l].nodeName&&(e.push("* "+a[l].childNodes[0].innerHTML.replace(":","")),c.push(a[l].childNodes[1].data.replace(/\(\$.*\)/,"").replace(/[,$\n ]/g,"")))}t(d,k,e,c,"$")};window.PieDraw=m;window.BarDraw=n;window.LineDraw=p;window.GMDraw=function(b,d){if(!(0>d||d>=b.t.length)){var a=b.t[d],c="undefined"!==typeof a.e?a.e:0;"bar"===a.t?n(b.g,a.s,a.v,a.l,c):"line"===a.t?p(b.g,a.s,a.v,a.l,c):"pie"===a.t&&m(b.g,a.v,a.l,c);c=document.getElementById("bg"+ b.g).parentNode.parentNode.getElementsByTagName("p");c.length&&"undefined"!==typeof a.d&&(c[0].innerHTML=a.d)}};window.TreemapDraw=t;window.govFinancesTM=function(b,d){var a=document.getElementById("govFinances"+d);null!==a&&("undefined"==typeof window.jitURL?e("#govFinances"+d).lazyload({appear:function(){u(a,b)}}):u(a,b))}})(jQuery); </script> <script type="text/javascript"> /* city/pictures.js */ (function($) { function has3d() { if (!window.getComputedStyle) { return false; } var el = document.createElement('p'), has3d, transforms = { 'webkitTransform':'-webkit-transform', 'OTransform':'-o-transform', 'msTransform':'-ms-transform', 'MozTransform':'-moz-transform', 'transform':'transform' }; // Add it to the body to get the computed style. document.body.insertBefore(el, null); for (var t in transforms) { if (el.style[t] !== undefined) { el.style[t] = "translate3d(1px,1px,1px)"; has3d = window.getComputedStyle(el).getPropertyValue(transforms[t]); } } document.body.removeChild(el); return (has3d !== undefined && has3d !== null && has3d.length > 0 && has3d !== "none"); } $(function () { if (!window.ua.mobile && has3d()) { // if it's supported, remove the scroll effect add the cool card flipping instead $('.thumb.scroll').removeClass('scroll').addClass('flip'); //secure IE11 from flipping image during page load $('.thumb-detail').css("display","block"); // add/remove flip class that make the transition effect $('.thumb.flip').hover( function () { $(this).find('.thumb-wrapper').addClass('flipIt'); }, function () { $(this).find('.thumb-wrapper').removeClass('flipIt'); } ); } else { } }); })(jQuery); </script> <script type="text/javascript"> (function(){ "use strict"; var params = {"before":"copyright","style":{"margin":"10px auto"}}; var what = document.getElementById("stock-photo-gallery"); var referenceId = (params.before !== void 0 ? params.before : params.after) var where = document.getElementById(referenceId); if (what !== null && where !== null) { what.parentNode.removeChild(what); if (params.before !== void 0) { where.parentNode.insertBefore(what, where); } else /* after */ { if (where.nextSibling !== null) where.parentNode.insertBefore(what, where.nextSibling); else where.parentNode.appendChild(what); } if (params.style) { for(name in params.style) { if (params.style.hasOwnProperty(name)) { what.style[name] = params.style[name]; } } } } $('img.lazy').lazyload(); }(jQuery)); </script> <script src="/js/cookie_notifier_js.php" async/> <script type="text/javascript"> /* city-compare/js/jquery.autocomplete.min.js */ var COPYRIGHT = " * jQuery Autocomplete plugin 1.2.3 * Copyright (c) 2009 J锟絩n Zaefferer * Dual licensed under the MIT and GPL licenses: * //www.opensource.org/licenses/mit-license.php * //www.gnu.org/licenses/gpl.html * With small modifications by Alfonso G锟絤ez-Arzola. * See changelog for details."; (function(d){d.fn.extend({autocomplete:function(a,b){var u="string"==typeof a;b=d.extend({},d.Autocompleter.defaults,{url:u?a:null,data:u?null:a,delay:u?d.Autocompleter.defaults.delay:10,max:b&&!b.scroll?10:150,noRecord:"No Records."},b);b.highlight=b.highlight||function(a){return a};b.formatMatch=b.formatMatch||b.formatItem;return this.each(function(){new d.Autocompleter(this,b)})},result:function(a){return this.bind("result",a)},search:function(a){return this.trigger("search",[a])},flushCache:function(){return this.trigger("flushCache")}, setOptions:function(a){return this.trigger("setOptions",[a])},unautocomplete:function(){return this.trigger("unautocomplete")}});d.Autocompleter=function(a,b){function u(){var x=m.selected();if(!x)return!1;var f=x.result;r=f;if(b.multiple){var c=t(h.val());if(1<c.length){var e=b.multipleSeparator.length,l=d(a).selection().start,v,k=0;d.each(c,function(a,b){k+=b.length;if(l<=k)return v=a,!1;k+=e});c[v]=f;f=c.join(b.multipleSeparator)}f+=b.multipleSeparator}h.val(f);p();h.trigger("result",[x.data,x.value]); return!0}function g(a,f){if(y==e.DEL)m.hide();else{var c=h.val();if(f||c!=r)r=c,c=n(c),c.length>=b.minChars?(h.addClass(b.loadingClass),b.matchCase||(c=c.toLowerCase()),l(c,v,p)):(h.removeClass(b.loadingClass),m.hide())}}function t(a){return a?b.multiple?d.map(a.split(b.multipleSeparator),function(b){return d.trim(a).length?d.trim(b):null}):[d.trim(a)]:[""]}function n(c){if(!b.multiple)return c;var f=t(c);if(1==f.length)return f[0];f=d(a).selection().start;f=f==c.length?t(c):t(c.replace(c.substring(f), ""));return f[f.length-1]}function p(){m.visible();m.hide();clearTimeout(w);h.removeClass(b.loadingClass);b.mustMatch&&h.search(function(a){a||(b.multiple?(a=t(h.val()).slice(0,-1),h.val(a.join(b.multipleSeparator)+(a.length?b.multipleSeparator:""))):(h.val(""),h.trigger("result",null)))})}function v(c,k){if(k&&k.length&&f){h.removeClass(b.loadingClass);m.display(k,c);var l=k[0].value;b.autoFill&&n(h.val()).toLowerCase()==c.toLowerCase()&&y!=e.BACKSPACE&&(h.val(h.val()+l.substring(n(r).length)),d(a).selection(r.length, r.length+l.length));m.show()}else p()}function l(f,e,h){b.matchCase||(f=f.toLowerCase());var l=k.load(f);if(l)l.length?e(f,l):(h=b.parse&&b.parse(b.noRecord)||c(b.noRecord),e(f,h));else if("string"==typeof b.url&&0<b.url.length){var v={timestamp:+new Date};d.each(b.extraParams,function(a,b){v[a]="function"==typeof b?b():b});d.ajax({mode:"abort",port:"autocomplete"+a.name,dataType:b.dataType,url:b.url,data:d.extend({q:n(f),limit:b.max},v),success:function(a){a=b.parse&&b.parse(a)||c(a);k.add(f,a); e(f,a)}})}else m.emptyList(),null!=q?q():h(f)}function c(a){var f=[];a=a.split("\n");for(var c=0;c<a.length;c++){var e=d.trim(a[c]);e&&(e=e.split("|"),f[f.length]={data:e,value:e[0],result:b.formatResult&&b.formatResult(e,e[0])||e[0]})}return f}var e={UP:38,DOWN:40,DEL:46,TAB:9,RETURN:13,ESC:27,COMMA:188,PAGEUP:33,PAGEDOWN:34,BACKSPACE:8},q=null;null!=b.failure&&"function"==typeof b.failure&&(q=b.failure);var h=d(a).attr("autocomplete","off").addClass(b.inputClass),w,r="",k=d.Autocompleter.Cache(b), f=0,y,A={mouseDownOnSelect:!1},m=d.Autocompleter.Select(b,a,u,A),z;-1!=navigator.userAgent.indexOf("Opera")&&d(a.form).bind("submit.autocomplete",function(){if(z)return z=!1});h.bind((-1!=navigator.userAgent.indexOf("Opera")&&!1 in window?"keypress":"keydown")+".autocomplete",function(a){f=1;y=a.keyCode;switch(a.keyCode){case e.UP:m.visible()?(a.preventDefault(),m.prev()):g(0,!0);break;case e.DOWN:m.visible()?(a.preventDefault(),m.next()):g(0,!0);break;case e.PAGEUP:m.visible()?(a.preventDefault(), m.pageUp()):g(0,!0);break;case e.PAGEDOWN:m.visible()?(a.preventDefault(),m.pageDown()):g(0,!0);break;case b.multiple&&","==d.trim(b.multipleSeparator)&&e.COMMA:case e.TAB:case e.RETURN:if(u())return a.preventDefault(),z=!0,!1;break;case e.ESC:m.hide();break;default:clearTimeout(w),w=setTimeout(g,b.delay)}}).focus(function(){f++}).blur(function(){f=0;A.mouseDownOnSelect||(clearTimeout(w),w=setTimeout(p,200))}).click(function(){b.clickFire?m.visible()||g(0,!0):1<f++&&!m.visible()&&g(0,!0)}).bind("search", function(){function a(f,c){var e;if(c&&c.length)for(var d=0;d<c.length;d++)if(c[d].result.toLowerCase()==f.toLowerCase()){e=c[d];break}"function"==typeof b?b(e):h.trigger("result",e&&[e.data,e.value])}var b=1<arguments.length?arguments[1]:null;d.each(t(h.val()),function(b,f){l(f,a,a)})}).bind("flushCache",function(){k.flush()}).bind("setOptions",function(a,f){d.extend(!0,b,f);"data"in f&&k.populate()}).bind("unautocomplete",function(){m.unbind();h.unbind();d(a.form).unbind(".autocomplete")})};d.Autocompleter.defaults= {inputClass:"ac_input",resultsClass:"ac_results",loadingClass:"ac_loading",minChars:1,delay:400,matchCase:!1,matchSubset:!0,matchContains:!1,cacheLength:100,max:1E3,mustMatch:!1,extraParams:{},selectFirst:!0,formatItem:function(a){return a[0]},formatMatch:null,autoFill:!1,width:0,multiple:!1,multipleSeparator:" ",inputFocus:!0,clickFire:!1,highlight:function(a,b){return a.replace(new RegExp("(?![^&;]+;)(?!<[^<>]*)("+b.replace(/([\^\$\(\)\[\]\{\}\*\.\+\?\|\\])/gi,"\\$1")+")(?![^<>]*>)(?![^&;]+;)", "gi"),"<strong>$1</strong>")},scroll:!0,scrollHeight:180,scrollJumpPosition:!0};d.Autocompleter.Cache=function(a){function b(b,d){a.matchCase||(b=b.toLowerCase());var c=b.indexOf(d);"word"==a.matchContains&&(c=b.toLowerCase().search("\\b"+d.toLowerCase()));return-1==c?!1:0==c||a.matchContains}function u(b,d){p>a.cacheLength&&t();n[b]||p++;n[b]=d}function g(){if(!a.data)return!1;var b={},l=0;a.url||(a.cacheLength=1);b[""]=[];for(var c=0,e=a.data.length;c<e;c++){var q=a.data[c],q="string"==typeof q? [q]:q,h=a.formatMatch(q,c+1,a.data.length);if("undefined"!==typeof h&&!1!==h){var g=h.charAt(0).toLowerCase();b[g]||(b[g]=[]);q={value:h,data:q,result:a.formatResult&&a.formatResult(q)||h};b[g].push(q);l++<a.max&&b[""].push(q)}}d.each(b,function(b,c){a.cacheLength++;u(b,c)})}function t(){n={};p=0}var n={},p=0;setTimeout(g,25);return{flush:t,add:u,populate:g,load:function(g){if(!a.cacheLength||!p)return null;if(!a.url&&a.matchContains){var l=[],c;for(c in n)if(0<c.length){var e=n[c];d.each(e,function(a, c){b(c.value,g)&&l.push(c)})}return l}if(n[g])return n[g];if(a.matchSubset)for(c=g.length-1;c>=a.minChars;c--)if(e=n[g.substr(0,c)])return l=[],d.each(e,function(a,c){b(c.value,g)&&(l[l.length]=c)}),l;return null}}};d.Autocompleter.Select=function(a,b,u,g){function t(){w&&(r=d("<div/>").hide().addClass(a.resultsClass).css("position","absolute").appendTo(document.body).hover(function(a){d(this).is(":visible")&&b.focus();g.mouseDownOnSelect=!1}),k=d("<ul/>").appendTo(r).mouseover(function(a){n(a).nodeName&& "LI"==n(a).nodeName.toUpperCase()&&(e=d("li",k).removeClass(l.ACTIVE).index(n(a)),d(n(a)).addClass(l.ACTIVE))}).click(function(c){d(n(c)).addClass(l.ACTIVE);u();a.inputFocus&&b.focus();return!1}).mousedown(function(){g.mouseDownOnSelect=!0}).mouseup(function(){g.mouseDownOnSelect=!1}),0<a.width&&r.css("width",a.width),w=!1)}function n(a){for(a=a.target;a&&"LI"!=a.tagName;)a=a.parentNode;return a?a:[]}function p(b){c.slice(e,e+1).removeClass(l.ACTIVE);v(b);b=c.slice(e,e+1).addClass(l.ACTIVE);if(a.scroll){var d= 0;c.slice(0,e).each(function(){d+=this.offsetHeight});d+b[0].offsetHeight-k.scrollTop()>k[0].clientHeight?k.scrollTop(d+b[0].offsetHeight-k.innerHeight()):d<k.scrollTop()&&k.scrollTop(d)}}function v(b){if(a.scrollJumpPosition||!(a.scrollJumpPosition||0>b&&0==e||0<b&&e==c.size()-1))e+=b,0>e?e=c.size()-1:e>=c.size()&&(e=0)}var l={ACTIVE:"ac_over"},c,e=-1,q,h="",w=!0,r,k;return{display:function(b,g){t();q=b;h=g;k.empty();var p;p=q.length;p=a.max&&a.max<p?a.max:p;for(var m=0;m<p;m++)if(q[m]){var n=a.formatItem(q[m].data, m+1,p,q[m].value,h);!1!==n&&(n=d("<li/>").html(a.highlight(n,h)).addClass(0==m%2?"ac_even":"ac_odd").appendTo(k)[0],d.data(n,"ac_data",q[m]))}c=k.find("li");a.selectFirst&&(c.slice(0,1).addClass(l.ACTIVE),e=0);d.fn.bgiframe&&k.bgiframe()},next:function(){p(1)},prev:function(){p(-1)},pageUp:function(){0!=e&&0>e-8?p(-e):p(-8)},pageDown:function(){e!=c.size()-1&&e+8>c.size()?p(c.size()-1-e):p(8)},hide:function(){r&&r.hide();c&&c.removeClass(l.ACTIVE);e=-1},visible:function(){return r&&r.is(":visible")}, current:function(){return this.visible()&&(c.filter("."+l.ACTIVE)[0]||a.selectFirst&&c[0])},show:function(){var e=d(b).offset();r.css({width:"string"==typeof a.width||0<a.width?a.width:d(b).width(),top:e.top+b.offsetHeight,left:e.left}).show();if(a.scroll&&(k.scrollTop(0),k.css({maxHeight:a.scrollHeight,overflow:"auto"}),-1!=navigator.userAgent.indexOf("MSIE")&&"undefined"===typeof document.body.style.maxHeight)){var g=0;c.each(function(){g+=this.offsetHeight});e=g>a.scrollHeight;k.css("height",e? a.scrollHeight:g);e||c.width(k.width()-parseInt(c.css("padding-left"))-parseInt(c.css("padding-right")))}},selected:function(){var a=c&&c.filter("."+l.ACTIVE).removeClass(l.ACTIVE);return a&&a.length&&d.data(a[0],"ac_data")},emptyList:function(){k&&k.empty()},unbind:function(){r&&r.remove()}}};d.fn.selection=function(a,b){if(void 0!==a)return this.each(function(){if(this.createTextRange){var d=this.createTextRange();void 0===b||a==b?d.move("character",a):(d.collapse(!0),d.moveStart("character",a), d.moveEnd("character",b));d.select()}else this.setSelectionRange?this.setSelectionRange(a,b):this.selectionStart&&(this.selectionStart=a,this.selectionEnd=b)});var d=this[0];if(d.createTextRange){var g=document.selection.createRange(),t=d.value,n=g.text.length;g.text="<->";g=d.value.indexOf("<->");d.value=t;this.selection(g,g+n);return{start:g,end:g+n}}if(void 0!==d.selectionStart)return{start:d.selectionStart,end:d.selectionEnd}}})(jQuery); /* city autocomplete */ $(function(){ function run(){ function formatItemAutocomplete(row) { if(typeof(row[1]) != "undefined" && row[1] !== null) { return row[0] + " (<i>pop. " + row[1] + "</i>)"; } } $("#city_left").each(function(){ $(this).autocomplete('/city-compare/ajax_city.php', { delay:100, minChars:3, formatItem:formatItemAutocomplete }).result(function (evt, data, formatted) { }) }) $("#city_right").each(function(){ $(this).autocomplete('/city-compare/ajax_city.php', { delay:100, minChars:3, formatItem:formatItemAutocomplete }).result(function (evt, data, formatted) { }) }) $(".btn-submit").click(function () { $("#city_form").submit(); }); $('#city_left').keypress(function (e) { if (e.which == 13) { $('form#city_form').submit(); return false; } }); $('#city_right').keypress(function (e) { if (e.which == 13) { $('form#city_form').submit(); return false; } }); } run(); }); </script> <style> .ac_results { padding: 0px; border: 1px solid black; background-color: white; overflow: hidden; z-index: 99999; } .ac_results ul { width: 100%; list-style-position: outside; list-style: none; padding: 0; margin: 0; } .ac_results li { margin: 0px; padding: 2px 5px; cursor: default; display: block; /* if width will be 100% horizontal scrollbar will apear when scroll mode will be used */ /*width: 100%;*/ font: menu; font-size: 12px; /* it is very important, if line-height not setted or setted in relative units scroll will be broken in firefox */ line-height: 16px; overflow: hidden; } .ac_loading { /* background: white url('indicator.gif') right center no-repeat; */ } .ac_odd { background-color: #eee; } .ac_over { background-color: #0A246A; color: white; } .ac_input { font-size:24px; } @media (max-width: 600px) { .ac_input { font-size:20px; } } @-moz-document url-prefix() { .ac_input { height:37px; } } @media (max-width: 600px) { #comparecity-addon1 { display: none; } } </style> <style> #cityLIST {float: none;} </style> <noscript><p><img src="/a/util.php?idsite=1&rec=1" style="border:0;" alt="" /></p></noscript> <script> var ES = function(r) { return r.replace(/"/g, '"'); } function addLink(){ var l = document.location.href.split('#')[0];l = l.split('"')[0];l = l.split("'")[0];l = l.split('<')[0];l = l.split('>')[0]; var a=window.getSelection(),aa=a+"";if ( (aa.length < 20) || (aa.indexOf("city-data.com") != -1)) return; var d=ES(aa) + "<br/> Read more: <a href='"+l+"'>"+l+"</a><br/><br/>"; var b=document.getElementsByTagName("body")[0],c=document.createElement("div");c.style.position="absolute";c.style.left="0";c.style.width="1px";c.innerHTML=d;b.appendChild(c);a.selectAllChildren(c);window.setTimeout(function(){b.removeChild(c)},0) } document.oncopy=addLink; </script> <script type="text/javascript"> var sorter = new TINY.table.sorter("sorter"); sorter.head = "head"; sorter.asc = "asc"; sorter.desc = "desc"; sorter.init("cityTAB", 1); $(document).ready(function(){ load(); }); </script> </body> </html>