Results 1 to 2 of 2

Thread: Map using LatLng for more precise location, marker not positioning on latlng.

  1. #1
    Thread Starter
    Member surfcrf450's Avatar
    Join Date
    Apr 2011
    Location
    United States
    Posts
    84
    Thanks
    8
    Thanked 6 Times in 5 Posts

    Map using LatLng for more precise location, marker not positioning on latlng.

    I have adjusted sidebar-gmap.php so that cp_street enters a latlng (18.454881,-67.159877)

    PHP Code:
    <?php
                $make_address 
    get_post_meta($post->ID'cp_street'true);
        
    ?>
    When it is mapped google maps does not mark the latlng, but instead marks the closest known address.

    I have played with option after option and each time it either has no effect or causes the map not to load at all.

    How can I get the position of the marker to hover over the exact latlng?

    If you go to maps.google.com and enter 18.454881,-67.159877 in the search you will get a green arrow (the exact location) and red/pink map marker "A" (the point that shows up on my map and the nearest known address)

    I believe I need to change
    PHP Code:
    function codeAddress() 
    to
    PHP Code:
    function codelatlng 
    , but I have tried it quite a few times with no luck.

  2. #2
    Member mediacomnc's Avatar
    Join Date
    Feb 2012
    Location
    New Caledonia
    Posts
    67
    Thanks
    5
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 7
    Last Post: November 21st, 2010, 10:12 PM
  2. Map marker
    By greencode in forum ClassiPress General Discussion
    Replies: 0
    Last Post: April 22nd, 2010, 05:32 AM
  3. Map marker
    By greencode in forum Help Using ClassiPress
    Replies: 0
    Last Post: December 31st, 1969, 06:00 PM