Viewing 6 replies - 1 through 6 (of 6 total)
  • mhhh – lat/lon values for markers and layer centers are saved with the mysql-type decimal(9,6).
    What I could imagine is, that your mysql database is configured to round data types like these (I had this problem before, when I used float-data-type, so I switched to decimal().

    Is the lat/lon value correctly entered in form field when selecting a marker position by mouse click or do you always get 48.000000 and 13.000000 when selection a position by mouseclick?

    If you don′t get any results, an admin access to your installation would help finding the problem.

    Thread Starter cheeseman1983

    (@cheeseman1983)

    it seems it is the rounding problem. i’ve chosen a point far away and it rounded again to non-float.

    Can i fix this inside wordpress or do i need admin rights for the database?

    Plugin Author Robert Seyfriedsberger

    (@harmr)

    please see if the lon/lat values are rounded in the database by checking the table wp_leafletmapsmarker_markers. I guess
    that this is where the problem is located and has to be fixed. Unfortunately I am no expert in mysql configurations…

    Thread Starter cheeseman1983

    (@cheeseman1983)

    Response from the admin in german:

    in der Datenstruktur steht in der Tabelle wp_leafletmapsmarker_markers die Datenfelder “lon” und “lat” auf: decimal(9,6), also eine 3-stellige Dezimalzahl mit 6 Kommastellen. Die eingetragenen Werte stehen allerdings auf 48.000000 bzw. 12.000000

    Dasselbe gilt für die tabelle wp_leafletmapsmarker_layers und die Felder “layerviewlat” und “layerviewlon”. Das Problem muss also irgendwo anders liegen, irgendwo im Quellcode wird wohl ein Datentyp als Integer definiert sein.

    Das kann ich aber leider nicht nachvollziehen.

    translation:
    data type is decimal (9,6) for wp_leafletmapsmarker_markers and wp_leafletmapsmarker_layers, so the problem should be in the source code of the plugin, not in the database

    Plugin Author Robert Seyfriedsberger

    (@harmr)

    mhhh – bin grad etwas überfragt woran dieser Fehler liegen k?nnte. Kannst du mit kurzfristig Adminzugriff auf dein Blog geben, damit ich dort debuggen kann? Würde die Fehlerbehebung wesentlich beschleunigen…
    lg
    Robert

    Plugin Author Robert Seyfriedsberger

    (@harmr)

    will be fixed with v1.6

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: Leaflet Maps Marker] problems with setting/changing marker coordinates’ is closed to new replies.