質問編集履歴

3

書式の修正

2017/04/08 11:23

投稿

chi_tana
chi_tana

スコア19

test CHANGED
File without changes
test CHANGED
@@ -186,36 +186,40 @@
186
186
 
187
187
  の直前でgeojsonFeatureを確認したところ、下記の値を取得していました。
188
188
 
189
+ ```
190
+
189
191
  Array(1)
190
192
 
191
- 0:Object
193
+ 0:Object
192
-
194
+
193
- geometry:Object
195
+ geometry:Object
194
-
196
+
195
- coordinates:Array(2)
197
+ coordinates:Array(2)
196
-
198
+
197
- 0:35.69853
199
+ 0:35.69853
198
-
200
+
199
- 1:139.757108
201
+ 1:139.757108
200
-
202
+
201
- length:2
203
+ length:2
202
-
204
+
203
- __proto__:Array(0)
205
+ __proto__:Array(0)
204
-
206
+
205
- type:"Point"
207
+ type:"Point"
206
-
208
+
207
- __proto__:Object
209
+ __proto__:Object
208
-
210
+
209
- properties:Object
211
+ properties:Object
210
-
212
+
211
- marker:"マーカー"
213
+ marker:"マーカー"
212
-
214
+
213
- __proto__:Object
215
+ __proto__:Object
214
-
216
+
215
- type:"Feature"
217
+ type:"Feature"
216
-
218
+
217
- __proto__:Object
219
+ __proto__:Object
218
-
220
+
219
- length:1
221
+ length:1
220
-
222
+
221
- __proto__:Array(0)
223
+ __proto__:Array(0)
224
+
225
+ ```

2

書式の改善

2017/04/08 11:23

投稿

chi_tana
chi_tana

スコア19

test CHANGED
File without changes
test CHANGED
@@ -188,34 +188,34 @@
188
188
 
189
189
  Array(1)
190
190
 
191
- 0:Object
191
+ 0:Object
192
-
192
+
193
- geometry:Object
193
+ geometry:Object
194
-
194
+
195
- coordinates:Array(2)
195
+ coordinates:Array(2)
196
-
196
+
197
- 0:35.69853
197
+ 0:35.69853
198
-
198
+
199
- 1:139.757108
199
+ 1:139.757108
200
-
200
+
201
- length:2
201
+ length:2
202
-
202
+
203
- __proto__:Array(0)
203
+ __proto__:Array(0)
204
-
204
+
205
- type:"Point"
205
+ type:"Point"
206
-
206
+
207
- __proto__:Object
207
+ __proto__:Object
208
-
208
+
209
- properties:Object
209
+ properties:Object
210
-
210
+
211
- marker:"マーカー"
211
+ marker:"マーカー"
212
-
212
+
213
- __proto__:Object
213
+ __proto__:Object
214
-
214
+
215
- type:"Feature"
215
+ type:"Feature"
216
-
216
+
217
- __proto__:Object
217
+ __proto__:Object
218
-
218
+
219
- length:1
219
+ length:1
220
-
220
+
221
- __proto__:Array(0)
221
+ __proto__:Array(0)

1

geojsonFeatureの内容を追記しました。また、タイトルをLeafletに変更しました。

2017/04/08 11:21

投稿

chi_tana
chi_tana

スコア19

test CHANGED
@@ -1 +1 @@
1
- OpenStreetMapでマーカーが表示されない
1
+ Leafletでマーカーが表示されない
test CHANGED
@@ -179,3 +179,43 @@
179
179
  http://unguis.cre8or.jp/web/6341
180
180
 
181
181
  こちらのサイトを参考にコードを書きました。
182
+
183
+
184
+
185
+ // ポップアップに表示する
186
+
187
+ の直前でgeojsonFeatureを確認したところ、下記の値を取得していました。
188
+
189
+ Array(1)
190
+
191
+ 0:Object
192
+
193
+ geometry:Object
194
+
195
+ coordinates:Array(2)
196
+
197
+ 0:35.69853
198
+
199
+ 1:139.757108
200
+
201
+ length:2
202
+
203
+ __proto__:Array(0)
204
+
205
+ type:"Point"
206
+
207
+ __proto__:Object
208
+
209
+ properties:Object
210
+
211
+ marker:"マーカー"
212
+
213
+ __proto__:Object
214
+
215
+ type:"Feature"
216
+
217
+ __proto__:Object
218
+
219
+ length:1
220
+
221
+ __proto__:Array(0)