15 |
16 |
17 |
18 |
19 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "d3-geomap",
3 | "homepage": "https://github.com/stevenrskelton/d3-geomap",
4 | "description": "Polymer Web Component for geographic topology visualization",
5 | "main": "d3-geomap.html",
6 | "authors": [
7 | "Steven Skelton"
8 | ],
9 | "license": "MIT",
10 | "ignore": [
11 | "**/.*",
12 | "node_modules",
13 | "bower_components",
14 | "test",
15 | "tests"
16 | ],
17 | "keywords": [
18 | "web-component",
19 | "web-components",
20 | "polymer",
21 | "datamaps",
22 | "d3",
23 | "geography",
24 | "countries",
25 | "world",
26 | "map"
27 | ],
28 | "dependencies": {
29 | "polymer": "Polymer/polymer#^0.5.5",
30 | "d3": "d3#>=3.4.11",
31 | "topojson": "topojson#>=1.6.18"
32 | },
33 | "devDependencies": {
34 | "core-elements": "Polymer/core-elements#^0.5.5",
35 | "sortable-table": "sortable-table#>=0.10.1",
36 | "flag-icon": "flag-icon#>=0.7.1",
37 | "transform-to-json": "transform-to-json#>=1.0.2"
38 | }
39 | }
40 |
--------------------------------------------------------------------------------
/datamaps/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 | Copyright (c) 2012 Mark DiMarco
3 |
4 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
5 |
6 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
7 |
8 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2014 Steven Skelton
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy of
6 | this software and associated documentation files (the "Software"), to deal in
7 | the Software without restriction, including without limitation the rights to
8 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
9 | the Software, and to permit persons to whom the Software is furnished to do so,
10 | subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
17 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
18 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
19 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21 |
--------------------------------------------------------------------------------
/examples/prism/prismjs/LICENSE:
--------------------------------------------------------------------------------
1 | MIT LICENSE
2 |
3 | Copyright (c) 2012-2013 Lea Verou
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in
13 | all copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 | THE SOFTWARE.
22 |
--------------------------------------------------------------------------------
/examples/prism/he/LICENSE-MIT.txt:
--------------------------------------------------------------------------------
1 | Copyright Mathias Bynens
2 |
3 | Permission is hereby granted, free of charge, to any person obtaining
4 | a copy of this software and associated documentation files (the
5 | "Software"), to deal in the Software without restriction, including
6 | without limitation the rights to use, copy, modify, merge, publish,
7 | distribute, sublicense, and/or sell copies of the Software, and to
8 | permit persons to whom the Software is furnished to do so, subject to
9 | the following conditions:
10 |
11 | The above copyright notice and this permission notice shall be
12 | included in all copies or substantial portions of the Software.
13 |
14 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18 | LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21 |
--------------------------------------------------------------------------------
/SRTM30_Plus/COPYRIGHT.txt:
--------------------------------------------------------------------------------
1 | David T. Sandwell, Walter H. F. Smith, and Joseph J. Becker Copyright 2008
2 | The Regents of the University of California
3 | All Rights Reserved
4 |
5 | Permission to copy, modify and distribute any part of this gridded bathymetry at 30 second resolution for educational, research and non-profit purposes, without fee, and without a written agreement is hereby granted, provided that the above copyright notice, this paragraph and the following three paragraphs appear in all copies.
6 |
7 | Those desiring to incorporate this global bathymetry into commercial products or use for commercial purposes should contact the Technology Transfer & Intellectual Property Services, University of California, San Diego, 9500 Gilman Drive, Mail Code 0910, La Jolla, CA 92093-0910, Ph: (858) 534-5815, FAX: (858) 534-7345, E-MAIL:invent@ucsd.edu.
8 |
9 | IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE USE OF THIS global bathymetry, EVEN IF THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
10 |
11 | THE global bathymetry PROVIDED HEREIN IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. THE UNIVERSITY OF CALIFORNIA MAKES NO REPRESENTATIONS AND EXTENDS NO WARRANTIES OF ANY KIND, EITHER IMPLIED OR EXPRESS, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, OR THAT THE USE OF THE global bathymetry WILL NOT INFRINGE ANY PATENT, TRADEMARK OR OTHER RIGHTS.
12 |
--------------------------------------------------------------------------------
/examples/multiselect.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | D3 SVG Geographic Map
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
24 |
25 |
26 |
27 |
Multi-select
28 |
29 | Enable built in region selection.
30 |
31 |
22 |
23 | Map should fill parent element, respecting specified width and height.
24 | cover will scale as large as possible so that the area is completely covered by the map. Some parts of the map may not be in view, so it is recommended to enable pan.
25 |
26 |
keys are region id, values are arbitrary data to be associated with region
58 |
59 |
60 |
hover
61 |
object
62 |
null
63 |
Region hovered over by user pointer
64 |
65 |
66 |
hoverType
67 |
string
68 |
null
69 |
Type of area being hovered over, region or marker
70 |
71 |
72 |
map
73 |
string
74 |
world
75 |
Acceptable values are world and usa, will render world and USA maps respectivily.
76 |
77 |
78 |
multiselect
79 |
boolean
80 |
false
81 |
If true, selected is automatically populated by user clicks
82 |
83 |
84 |
theme
85 |
object
86 |
_default_
87 |
CSS styles to apply to map, see [Themes]
88 |
89 |
90 |
selected
91 |
object
92 |
null
93 |
keys are region id, values are a CSS color. Also supports an array if region ids where defaultSelectedFill color is assumed
94 |
95 |
96 |
projection
97 |
object
98 |
_default_
99 |
Center of map and size, see [Projection]
100 |
101 |
102 |
pan
103 |
boolean
104 |
false
105 |
Enable mouse/touch pan on drag
106 |
107 |
108 |
zoom
109 |
boolean
110 |
false
111 |
Enable mouse scroll-wheel/touch pinch zoom
112 |
113 |
114 |
hovertemplate
115 |
id
116 |
null
117 |
See [hovertemplate]
118 |
119 |
120 |
markerHoverTemplate
121 |
id
122 |
null
123 |
See [markerHoverTemplate]
124 |
125 |
126 |
127 |
128 |
Element Events
129 |
130 |
131 |
132 |
133 |
Event
134 |
Value
135 |
Description
136 |
137 |
138 |
139 |
140 |
clicked
141 |
object
142 |
Region clicked by user
143 |
144 |
145 |
146 |
147 |
Region IDs
148 |
149 |
150 | Region IDs are used to uniquely identify regions, and are the keys to both the data and selected object maps.
151 | The world country map uses 3 letter ISO 3166-1 alpha-3 country codes,
152 | while the USA state map uses 2 letter ANSI standard INCITS 38:2009 codes.
153 |