[MediaWiki-l] Page Forms multiple-instance coordinate entry

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[MediaWiki-l] Page Forms multiple-instance coordinate entry

Billy Sims
Hello,
Has anyone run into issues with using map-picker coordinate entry on a Page
Forms form with  a multiple-instance template ? All three openlayers,
leaflet, and googlemaps input types work wonderfully until the "multiple"
parameter is added. Once added, leaflet and openlayers display an
unresponsive map box in which the map visuals are offset and frozen, while
googlemaps displays a grey, unresponsive map box.

My best guess is that there is a conflict with the javascript loading the
map feature first and then handling the multiple instance button. Perhaps
this would also explain the offset map image (which would seem to be
properly placed for a single-instance item)

Any help/guesses/solutions are much appreciated!

*SMW 3.1.0*



*MediaWiki 1.33.1PHP 7.2.24 (litespeed)MariaDB 10.1.40-MariaDB-cll-lveICU
63.1*

(and incidentally, though I don't think this is an issue, I'll mention the
template used generates a subobject in which the coordinates are to then be
stored.

Best,
Billy
_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Reply | Threaded
Open this post in threaded view
|

Re: Page Forms multiple-instance coordinate entry

Yaron Koren-2
Hi Billy,

Sorry about that problem. You might be the first person who's tried having
map inputs within a multiple-instance template... at least, I haven't heard
of someone doing that before, I don't think.

Anyway, you did uncover a real bug. I just checked in a fix for this, so if
you get the latest Page Forms code, it will hopefully work better. Please
let me know if you run into any issues after updating the code.

-Yaron

On Fri, Nov 15, 2019 at 4:15 PM Billy Sims <[hidden email]> wrote:

> Hello,
> Has anyone run into issues with using map-picker coordinate entry on a Page
> Forms form with  a multiple-instance template ? All three openlayers,
> leaflet, and googlemaps input types work wonderfully until the "multiple"
> parameter is added. Once added, leaflet and openlayers display an
> unresponsive map box in which the map visuals are offset and frozen, while
> googlemaps displays a grey, unresponsive map box.
>
> My best guess is that there is a conflict with the javascript loading the
> map feature first and then handling the multiple instance button. Perhaps
> this would also explain the offset map image (which would seem to be
> properly placed for a single-instance item)
>
> Any help/guesses/solutions are much appreciated!
>
> *SMW 3.1.0*
>
>
>
> *MediaWiki 1.33.1PHP 7.2.24 (litespeed)MariaDB 10.1.40-MariaDB-cll-lveICU
> 63.1*
>
> (and incidentally, though I don't think this is an issue, I'll mention the
> template used generates a subobject in which the coordinates are to then be
> stored.
>
> Best,
> Billy
> _______________________________________________
> MediaWiki-l mailing list
> To unsubscribe, go to:
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>


--
WikiWorks · MediaWiki Consulting · http://wikiworks.com
_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l