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

De Semantic MediaWiki - Sandbox
mAucun résumé des modifications
m (Kghbln a déplacé la page Issue/SM/65 vers Issue/SM/65 : namefix)
 
(4 versions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
== Issue ==
== Issue ==
'''How to make two locations with the same coordinates distinguisable''' [[CiteRef::GitHubSM65]]


'''Make two locations with the same coordinates distinguisable''' [[CiteRef::GitHubSM65]]
=== format "map" ===
 
== format "map" ==
<pre>
<pre>
{{#ask:
{{#ask:
Ligne 19 : Ligne 18 :
}}
}}


== format "ol" ==
=== format "ol" ===
{{#ask:
{{#ask:
  [[Category:Location]]
  [[Category:Location]]
Ligne 33 : Ligne 32 :
}}
}}


 
== Solution ==
== using marker clustering ==
'''use marker clustering'''
<pre>
<pre>
{{#ask:
{{#ask:
Ligne 41 : Ligne 40 :
  |?Has coordinates
  |?Has coordinates
  |format=map
  |format=map
  |markercluster = on
  |markercluster=on
  |zoom = 2
  |zoom = 2
}}
}}
Ligne 50 : Ligne 49 :
  |?Has coordinates
  |?Has coordinates
  |format=map
  |format=map
  |markercluster = on
  |markercluster=on
  |zoom = 2
  |zoom = 2
}}
}}
Ligne 56 : Ligne 55 :
[[Category:Location| ]]
[[Category:Location| ]]
[[Category:Issue]]
[[Category:Issue]]
[[Category:Semantic Maps example]]
[[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 coordinates: 52° 31' 0.00" N, 13° 24' 0.00" E)
  2. Location 2 (Has coordinates: 52° 31' 0.00" N, 13° 24' 0.00" E)
  3. Location 3 (Has coordinates: 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.