Jump to content

Extension talk:Maps/Flow archive/2019

Add topic
From mediawiki.org
Latest comment: 6 years ago by Jeroen De Dauw in topic Cluster zoom not working

Post questions, bug reports and feature requests at https://github.com/JeroenDeDauw/Maps/issues.

The maintainer of the Maps extension does not check this page frequently!


The documentation for the Maps extension is located at https://www.semantic-mediawiki.org/wiki/Extension:Maps



Archive

[edit]


Cluster zoom not working

[edit]

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


Brand new user...

I'm trying to get clustered points on a map of my city, but clusters never form -- even zoomed way out, I still have individual points.


What am I doing wrong?


Here is the markup


<display_map height="600px" service=leaflet geojson="TestBerkeley" markercluster=on>

  Berkeley, California~The city Berkeley~Berkeley is a really nice city

</display_map>


and here is the GeoJSON I made on GeoJson.io


{

    "type": "FeatureCollection",

    "features": [

        {

            "type": "Feature",

            "properties": {},

            "geometry": {

                "type": "Point",

                "coordinates": [

                    -122.27607250213622,

                    37.86702776467238

                ]

            }

        },

        {

            "type": "Feature",

            "properties": {},

            "geometry": {

                "type": "Point",

                "coordinates": [

                    -122.2758150100708,

                    37.867231038273935

                ]

            }

        },

        {

            "type": "Feature",

            "properties": {},

            "geometry": {

                "type": "Point",

                "coordinates": [

                    -122.27632999420166,

                    37.866824490510076

                ]

            }

        },

        {

            "type": "Feature",

            "properties": {},

            "geometry": {

                "type": "Point",

                "coordinates": [

                    -122.27422714233397,

                    37.87370162153638

                ]

            }

        },

        {

            "type": "Feature",

            "properties": {},

            "geometry": {

                "type": "Point",

                "coordinates": [

                    -122.28903293609619,

                    37.870584971740065

                ]

            }

        },

        {

            "type": "Feature",

            "properties": {},

            "geometry": {

                "type": "Point",

                "coordinates": [

                    -122.26929187774658,

                    37.85981118852664

                ]

            }

        }

    ]

}


71.202.172.3 (talk) 13:25, 11 May 2019 (UTC)Reply

It appears to work if I don't use GeoJson. 71.202.172.3 (talk) 14:03, 11 May 2019 (UTC)Reply
Indeed, clustering is not supported for data added via GeoJson. Jeroen De Dauw (talk) 01:28, 25 October 2019 (UTC)Reply
Fixed in Map 7.12.0 https://github.com/JeroenDeDauw/Maps/blob/master/RELEASE-NOTES.md Jeroen De Dauw (talk) 12:43, 3 January 2020 (UTC)Reply
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Custom mapping?

[edit]

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


Can you do more than geographic mapping with this extension? For instance, I would like to be able to upload an image of the floor plan of our building, and map out the emergency exits. Does this extension make that possible? Amcgilli (talk) 12:29, 10 June 2019 (UTC)Reply

See this thread on the mailing list. [[kgh]] (talk) 14:28, 10 June 2019 (UTC)Reply
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Geocode and map showing the wrong location

[edit]

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


Hi,

I have put together a map that will place a marker down depending on what the user puts in form.

I have tried using the command for the geocode as:

{{#geocode:{{{Address}}}, {{{City}}}, {{{Country}}}}}

I then have this display on a map as:

{{#display_map:{{{Address}}}, {{{City}}}, {{{Country}}}~icon.png;}}

The address I am looking for is 123 5th Ave, New York City New York, United States, 10003

Breaking this down, the Address is 123 5th Ave, the City is New York City, the country is United states.

This address should be in Mid-Town Manhattan, but on the map, it is showing it as being in Brooklyn.

Also, I want to drop an marker down, in this instance I am using an icon.png, but it's not showing. I have tried using the default set up for Berlin and the marker has been dropped.

Any ideas what I am doing wrong?

Any help is appreciated. Squeak24 (talk) 21:38, 24 August 2019 (UTC)Reply

Ah, I see what I did wrong now. I have changed New York City to Manhattan. But still having issues with the marker Squeak24 (talk) 22:40, 24 August 2019 (UTC)Reply
I think I have sorted the marker issue out now. Squeak24 (talk) 21:49, 25 August 2019 (UTC)Reply
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Leaflet Plugins ?

[edit]

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


Any documentation available how to install additional Leaflet plugins? 194.96.92.160 (talk) 18:00, 8 September 2019 (UTC)Reply

This is not supported. If you want Maps to have build in support for an additional Leaflet plugin, please open a feature request at https://github.com/JeroenDeDauw/Maps/issues Jeroen De Dauw (talk) 01:26, 25 October 2019 (UTC)Reply
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Map never loads first time

[edit]

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


Running Maps 7.1.0, I have a lot of maps but I'm finding that they never load first time. You just get a grey box with "Loading map", but nothing happens.

What's weird is that if you refresh the page, the map then instantly loads. What could be causing that? 86.177.91.92 (talk) 20:54, 15 September 2019 (UTC)Reply

I am in the same pattern, it is with leaflet layer. 195.83.12.100 (talk) 09:28, 9 October 2019 (UTC)Reply
This issue was fixed in Maps 7.4.1. Please upgrade. Latest release is 7.10.0. See https://github.com/JeroenDeDauw/Maps/blob/master/RELEASE-NOTES.md Jeroen De Dauw (talk) 01:25, 25 October 2019 (UTC)Reply
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Multiple lines on may from query

[edit]

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


Hi,


I want to plot a number of lines on a single map, based on a query.

Each of these lines represents a power-line; each power line can be stored on a wikipage, with two or more coordinates.


Is there a way to do this?


Thanks in advance Prb11199 (talk) 04:58, 1 November 2019 (UTC)Reply

This was solved at https://github.com/JeroenDeDauw/Maps/issues/586 Jeroen De Dauw (talk) 22:12, 21 November 2019 (UTC)Reply
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.

Maps do not load when using Mobile Front End + Minerva Skin

[edit]

The following discussion is closed. Please do not modify it. Subsequent comments should be made on the appropriate discussion page. No further edits should be made to this discussion.


Hi, I'm using MW 1.33.1 and the Maps extension with google maps 3 as a default service. When in "mobile" mode, I get no map display : only a gray frame with "loading map..." on display, but nothing happening. When getting back to the non-mobile mode, using the same device (in my case, iPhone 5, Safari, iOS 12.4.4), the map gets displayed near-instantly. Using the mobile mode on my laptop (Win 10, Firefox) yields the same result, i.e. no map display. Any idea?

Notes:

1 - this was first posted on Skin talk : Minerva Neue, but does not seem to be a skin issue

2 - a similar question popped up 6 years ago on this thread, but given all the changes since then, I prefer to re-post.

Thanks in advance

Airy Amagnien2 (talk) 23:11, 31 December 2019 (UTC)Reply

Thanks for reporting. I added the enhancement request on GitHub. [[kgh]] (talk) 10:52, 3 January 2020 (UTC)Reply
The discussion above is closed. Please do not modify it. No further edits should be made to this discussion.