• Resolved stefanfrank

    (@stefanfrank)


    I’m trying to set up a location but it does’t recognize the address and points to some point in the sea.

    Any ideas?

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 18 total)
  • Plugin Author Stonehenge Creations

    (@duisterdenhaag)

    If there are no coordinates, the marker defaults to 0,0, which is indeed underneath Gold Coast on the equator.

    If your search returns nothing, please try a better search.

    Thread Starter stefanfrank

    (@stefanfrank)

    thank you for your answer.
    Obviously there are no coordinates, so how do i set coordinates? When I define a new location in Events Manager I can enter address, city, etc. but these data obviously isn’t recongnized by Events Manager – OpenStreetMaps.

    Plugin Author Stonehenge Creations

    (@duisterdenhaag)

    You cannot manually set the coordinates, not in this plugin nor the native EM.

    What address are your trying to add?

    Sorry I don’t mean to hijack this post but I am having the same issue so perhaps to get one answer here.

    The address I am using is in New Jersey but the marker is on an African Map. Is there a simple resolution to this?

    Plugin Author Stonehenge Creations

    (@duisterdenhaag)

    @h2ofilters, please give me the full address you are trying to add. I cannot test “an address in NJ”, of course. πŸ˜‰
    Also, is there a link to your front-end event / location submission form for me to check out?

    Plugin Author Stonehenge Creations

    (@duisterdenhaag)

    @stefanfrank,

    how do i set coordinates? When I define a new location in Events Manager I can enter address, city, etc.

    You have set you OpenCage API key in the settings, right? And you do click “Search Address” after entering (at least) the address field? EM’s Google will launch an auto-search on every key stroke.

    this plugin uses the “Search Address” button to keep the number of API calls as low as possible.

    It’s a business address at 3163 Marne Highway
    Mount Laurel,, NJ 08054. Sorry the site is not live yet but a subdomain.

    Plugin Author Stonehenge Creations

    (@duisterdenhaag)

    Here’s the result if I enter:

    Address: 3163 Marne Highway
    Town: Mount Laurel
    and click “Search Address”.
    https://paste.pics/9521eda6bd2e8016ebcbc0b57d46a776

    Also, this is the result in the browser console:
    https://paste.pics/9000ea123a1ff1dd9124790709146aa7

    So, the plugin seems to be working fine. Without an actual page and its results to look into, I am afraid that’s all I can do.

    Plugin Author Stonehenge Creations

    (@duisterdenhaag)

    Or… You just need to use the correct address πŸ˜€
    It’s not Mount Laurel, but Mount Laurel Township!

    A simple lookup on openstreetmap.org gave that.
    https://www.openstreetmap.org/search?query=Mount%20Laurel%2C%203163%20Marne%20Highway%2C#map=19/39.97824/-74.87371

    https://paste.pics/3f614c5f37431d954dfe2cc67354d0ea

    I am sorry I think they are different. The township address gives you a 7-Eleven store which is different from the non-township address for a daycare-type business. I’ve tried the township before but the business I am working with does not use Township in its address.

    Thanks though.

    Here is my way around it. Not sure if it’s okay and will not cause conflicts:

    I modified the Single location page in the Settings format by simply adding the Google map iframe.

    <div style="float:right; margin:0px 0px 15px 15px;">#_LOCATIONMAP <br>
    iframe {map code here} </iframe>
    </div>

    While it works, I hope it will not interfere with the plugin

    Even with Township, it’s still showing Africa:

    Plugin Author Stonehenge Creations

    (@duisterdenhaag)

    OF COURSE! If you do not store the coordinates, it will use 0,0!!
    Search the address, maybe move the marker a little. Save the location.

    Or just not use this plugin if you want to do everything manually and use a non-official address.

    And your code is very illogical. What “map iframe code”? You provide only half of the information. The plugin only reacts on #_LOCATIONMAP or [locations_map].

    Plugin Author Stonehenge Creations

    (@duisterdenhaag)

    The use of this plugin is really really simple…
    You type in the address, click “Search Address” and the fields will be filled with the OpenCage search results.

    Then you can change any of the fields to your (non-official) liking, without restrictions. As long as you do not click the button again, the coordinates will remain unchanged.

    To place the marker on a more specific spot, you can simply drag it after the coordinates have been found.

    Not clicking the search button and/of not using the initial right naming, will naturally result in a wrong map.

    Thread Starter stefanfrank

    (@stefanfrank)

    @duisterdenhaag

    Yes, IΒ΄ve set up the OpenCage API Key, but I don’t find a “search Address” button?

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘can’t set location – pin showing in ocean outside africa’ is closed to new replies.