Forum Replies Created

Viewing 15 replies - 1 through 15 (of 43 total)
  • Thread Starter zesco

    (@zesco)

    Without spaces it’s run (as follow): the search property is a good option. Thankyou.

    [leaflet-map fitbounds]
    [leaflet-geojson src=”……….geojson”]
    <span style=”font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-size: medium; float: none; display: inline !important;”>Tipo: {Tipo} – Descrizione: {Descrizione}[/leaflet-geojson]</span>[leaflet-search propertyName=”Tipo,Descrizione”]
    [hover]
    [cluster]
    [zoomhomemap]
    [fullscreen]

    Now the search criteria are limited to the contents of the geojson file, is it possible to also add the “normal” search criterion with the name of a location (for example a city)?

    Thread Starter zesco

    (@zesco)

    To find a placeholder I add the following code (before hover, cluster, zoomhomemap, fullscreen): [leaflet-search propertyName=”Tipo”, “Descrizione”, “Sito”, “Progetto”], but the result is a red “Location not found” ! Where am I wrong?

    Thread Starter zesco

    (@zesco)

    Fullscreen is perfect, thank you. In any case, the experience of Leaflet Map is much better than Google’s My Map.

    To the coordinates of the placeholders, is it possible to associate the public street image (or geolocated photo)?

    Thread Starter zesco

    (@zesco)

    On the map web page, the size of the map is appropriate to the format of the website theme: is it possible to allow the full screen display to be activated?

    Thread Starter zesco

    (@zesco)

    To add a placeholder to the map:
    1 it is recommended to open the .geojson file, with a text editor, and add a string like the follow:

    {“type”:”Feature”,”properties”:{“X”:12.xxxxxx,”Y”:41.xxxxxx,”Z”:0,”Tipo”:”descriprion1″,”Descrizione”:”description2″},”geometry”:{“type”:”Point”,”coordinates”:[12.xxxxxx,41.xxxxxx,0]}}

    2 or it’s better add a new line for each placeholder into the CSV file and export it in .geojson… for any map upgrade?

    Thread Starter zesco

    (@zesco)

    Plugin “Extensions for Leaflet Map” is not active: is it necessary?
    YES it’s necessary, becouse after activation the cluster RUN! 🙂
    I’ll explore better this plugin becouse there are more interesting options also.
    Thank you a lot.

    • This reply was modified 6 months, 2 weeks ago by zesco.
    Thread Starter zesco

    (@zesco)

    I follow the instruction in this screenshot

    In the web page there is the following code, but it show the map without cluster.
    [leaflet-map fitbounds]
    [leaflet-geojson src=”/wp-content/uploads/nomefile.geojson” popup_property=Descrizione]
    {@id}[/leaflet-geojson]
    [hover]
    [cluster]
    [zoomhomemap]

    Thread Starter zesco

    (@zesco)

    https://leafletjs.com

    The “popup_property” is precious, thank you.

    • This reply was modified 6 months, 2 weeks ago by zesco.
    Thread Starter zesco

    (@zesco)

    1 From DirectAdmin, I add type MIME “application/geo+json” with extensions “geojson”;

    2 I deleted Leaflet Map plugin and deleted Extensions for Leaflet Map pluging;

    3 I installed Leaflet Map pluging again and installed Extensions for Leaflet Map pluging;

    4 I activated ONLY Leaflet Map plugin (not activated Extensions for Leaflet Map plugin);

    5 No modifications on settings of Leaflet Map plugin, all is standard: no path on Java URL;

    6 IT’S RUN 😉

    7 Finally I can remove google map: thank you a lot guys!

    8 Can the visitors select the one of the 400 locations of the map and see the relative information (description) present into the file geojson file?

    9 The last little problem is the Ucraine flag near the Leaftmap in the right low corner (I would like to have it).

    • This reply was modified 6 months, 2 weeks ago by zesco.
    Thread Starter zesco

    (@zesco)

    A page without any things is https://www.ecosurvey.it/prova-mappa/

    I ask some help to the hosting service: hope well, thank you a lot.

    Thread Starter zesco

    (@zesco)

    1 CookieYes | GDPR Cookie Consent plugin deactivated: No improvement.
    2 WPS Hide Login plugin (Protect your website by changing the login URL and preventing access to wp-login.php page and wp-admin directory while not logged-in) could have effect?
    3 Manage Leaflet Map files menù in “Extensions for Leaflet Map” I see the follow sreenshot: I can see the json file with the map of 400 locations only if I select “Show all files”.

    Thread Starter zesco

    (@zesco)

    In fact, with Extensions for Leaflet Map I can see the list of files, including the “…namefile.geojson”, but unfortunately this file don’t show any Preview and no Media Library is present.

    The geojson file could be wrong? As I wrote in the first post, I start from CSV data with 7 columns (X, Y, Z, TYPE, DESCRIPTION, LON, LAT). Any suggestion for the conversione file from CSV in GEOJSON again?

    Thread Starter zesco

    (@zesco)

    Maybe the plugin installation has a problem: the helper don’t run, I can’t see any map in the backend heper page, I can’t see any shortcode in Interactive Shortcodes (map or marker) and all the Examples are blank.

    I removed the Leaflet Map plugin and installed again, now the I can see the map in the backend heper page, I can see shortcode sin Interactive Shortcodes (map or marker) and I can see all the Examples.

    Can you confirm that the only link I have to insert is the Leaflet Map Settings is the JavaScript URL of my folder /wp-content/upload/ with the name of the geojson file?

    • This reply was modified 6 months, 2 weeks ago by zesco.
    Thread Starter zesco

    (@zesco)

    LiteSpeed Cache plugin is disabled and the page-cache is not detected. Map Block for Google Maps plugin is disables. The link code of MyMap was erased from the web page. The json file is located in wp-content/uploads/namefile.geojson. Can you suggest if the address of the json map file (with the 400 locations) have to insert in JavaScript URL line into the settings of Leaflet Map plugin?

    The two code line I used are the following (but the web page is without map):

    [leaflet-map fitbounds zoom=6 height=600px scrollwheel=1]

    [leaflet-geojson src=”/wp-content/uploads/namefile.geojson”]

    Thank you.

    • This reply was modified 6 months, 2 weeks ago by zesco.
    Thread Starter zesco

    (@zesco)

    Thank you hupe13,

    after teh following actions:

    • deactivate the Lite Speed Cache caching plugin YES
    • and also deactivate MyMaps from Google for testing purposes NO deactivation because the 2 leaflet line codes are tested on a new web page [leaflet-map fitbounds zoom=6 height=600px scrollwheel=1] + [leaflet-geojson src=”/wp-content/uploads/namefile.geojson”]

    Then, the web page remain empty again, but on https://geojson.io/#url-api&map=2.18/26.88/18 is perfect.

Viewing 15 replies - 1 through 15 (of 43 total)