• Resolved r91andersson

    (@r91andersson)


    Hi,

    Would it be possible to add markers dynamically by code?

    Let’s say I would like to add, depending on other parameters, three markers/week, would this be possible to do by code rather by do it manual for hand?

    Regards Robin

Viewing 5 replies - 1 through 5 (of 5 total)
  • Jarryd Long

    (@jarryd-long)

    Hi Robin

    Thank you for getting in touch with us.

    You’d be able to create markers programatically by inserting them into the wpgmza table in your database.

    Would you be comfortable in building the SQL query to do this, or would you like an example sent through?

    Thread Starter r91andersson

    (@r91andersson)

    Oh sweet, didnt notice that extra fields in the database. I can handle that 🙂

    Do you have any function to call that takes as the input parameter adress name, and gives the output as lat/long?

    And would it be possible if I buy the pro version to programatically create a new map? (My intention is to create a new map for each new user that register on the site, and each user will have a set of coordinates)

    Jarryd Long

    (@jarryd-long)

    Hi Robin

    I can send you some JavaScript code to Geocode the address – would this suffice?

    We’d be able to assist you in programatically creating a map when a user registers on the site, yes 🙂

    Thread Starter r91andersson

    (@r91andersson)

    Perfect!

    I’ll buy the pro version tomorrow then!

    You can mail me at [email protected]

    Regards Robin

    Jarryd Long

    (@jarryd-long)

    Hi Robin

    That will be great! Thank you so much!

    I’ve mailed you on the provided email address, however I’d recommend editing the post and removing it to prevent receiving any spam in the future 🙂

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Dynamically add markers by code’ is closed to new replies.