« Issue/SM/65 » : différence entre les versions

De Semantic MediaWiki - Sandbox
(add)
m (Kghbln a déplacé la page Issue/SM/65 vers Issue/SM/65 : namefix)
 
(12 versions intermédiaires par 3 utilisateurs non affichées)
Ligne 1 : Ligne 1 :
;map
== Issue ==
'''How to make two locations with the same coordinates distinguisable''' [[CiteRef::GitHubSM65]]
 
=== format "map" ===
<pre>
{{#ask:
[[Category:Location]]
[[Has coordinates::+]]
|?Has coordinates
|format=map
}}
</pre>
{{#ask:
{{#ask:
  [[Category:Location]]
  [[Category:Location]]
Ligne 7 : Ligne 18 :
}}
}}


;ol
=== format "ol" ===
{{#ask:
{{#ask:
  [[Category:Location]]
  [[Category:Location]]
Ligne 14 : Ligne 25 :
  |format=ol
  |format=ol
}}
}}
{{#scite:
GitHubSM65
|type=internet
|citation text=[https://github.com/SemanticMediaWiki/SemanticMaps/issues/65 github.com - Semantic Maps issue 65]
}}
== Solution ==
'''use marker clustering'''
<pre>
{{#ask:
[[Category:Location]]
[[Has coordinates::+]]
|?Has coordinates
|format=map
|markercluster=on
|zoom = 2
}}
</pre>
{{#ask:
[[Category:Location]]
[[Has coordinates::+]]
|?Has coordinates
|format=map
|markercluster=on
|zoom = 2
}}
[[Category:Location| ]]
[[Category:Issue]]
[[Category:Maps examples]]

Dernière version du 5 juillet 2018 à 15:48

Issue

How to make two locations with the same coordinates distinguisable 1

format "map"

{{#ask:
 [[Category:Location]]
 [[Has coordinates::+]]
 |?Has coordinates
 |format=map
}}
Chargement de la carte...

format "ol"

  1. Location 1 (Has coordinatesUsed to describe the geographic coordinate of some place.: 52° 31' 0.00" N, 13° 24' 0.00" E)
  2. Location 2 (Has coordinatesUsed to describe the geographic coordinate of some place.: 52° 31' 0.00" N, 13° 24' 0.00" E)
  3. Location 3 (Has coordinatesUsed to describe the geographic coordinate of some place.: 47° 4' 14.52" N, 15° 26' 22.20" E)

Solution

use marker clustering

{{#ask:
 [[Category:Location]]
 [[Has coordinates::+]]
 |?Has coordinates
 |format=map
 |markercluster=on
 |zoom = 2
}}
Chargement de la carte...
Les cookies nous aident à fournir nos services. En utilisant nos services, vous acceptez notre utilisation de cookies.