Marker Listed in Browser Console Log

New home Forums Basic Version General queries Marker Listed in Browser Console Log

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #77824
    zen – faidzul
    Participant

    Hi,

    I am seeing all marker data being loaded in the map are listed in the browser console log.
    It is taking quite some space in the console view since I have a total of around 20k+ markers.
    Is it possible to hide this from showing in the console log?

    Attachments:
    You must be logged in to view attached files.
    #77836
    Matthew
    Moderator

    Hi Zen,

    Thank you for getting back in touch, we do appreciate your time.

    The data you are seeing is a console.log in the code, thus if you would like to disable the logging, please may you edit the following file in the Gold Add-on: \wp-google-maps-gold\js\v8\open-layers\ol-marker-cluster-icon.js

    On line 48, you should see a console.log code which you may remove or comment out.

    Once this has been done, you will need to recompile the plugin files by enabling and disabling “Developer Mode” (Maps -> Settings -> Advanced Settings / Miscellaneous).

    I hope this helps?

    Kindest Regards,
    Matthew.

    #77837
    zen – faidzul
    Participant

    Hi Matthew,

    Thanks for your response, it is indeed helped me in hiding it from appearing in the console log.

    #77886
    Matthew
    Moderator

    Hi there,

    Thank you for your response and time on this.

    I am most happy to hear that, and should you need any further assistance, we are happy to help!

    Have a great day further!

    Kindest Regards,
    Matthew

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.