Top Part of Map Not Displaying?

Any Ideas on how to have the map display what is actually possible to be seen.  In other words complete the entire map and not just to what looks like a line at the middle of the map?

Where the blue lines are there are actual properties just like the ones south of those blue lines...

Map Issue.PNG · 631.2K · 260 views
Csampson
Quote · 28 Mar 2014

Free API, or Business API?

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 28 Mar 2014

When you say free API are you asking me about the Google API?

Csampson
Quote · 28 Mar 2014

Yep

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 28 Mar 2014

It's the free API code that I applied to the World Map in the following place:

General Settings
 
 

Google Maps API key (optional): 

 

It says optional and I had nothing in it so I added a new free API and it still does the same.  When I drag the map it is as if there is a line that
markers will not show by default.  If I drag it they will appear randomly and systematically but very annoying that ALL do not display above a certain point.  On the settings in the admin section for world maps the map is turned and has the same line.  See Attached...  

Admin Section.PNG · 523.2K · 212 views
Csampson
Quote · 28 Mar 2014

At first glance, it looks like this function in /module/boonex/world_map/classes/BxWmapDb.php limits the number of points that are retrieved.  You can change it to a higher number and see what happens.

    function getLocationsByBounds($sPart, $fLatMin, $fLatMax, $fLngMin, $fLngMax, $aCustomParts, $mixedPrivacyIds = '')
    {
        $sCustomPartsCondition = $this->_getCustomPartsCondition ($aCustomParts, 'm');

        $sWhere = $this->_getLatLngWhere ($fLatMin, $fLatMax, $fLngMin, $fLngMax);
        if ($sPart)
            $sWhere .= " AND `m`.`part` = '$sPart' ";
        else
            $sWhere .= $sCustomPartsCondition;

        $sWhere .= $this->_getPrivacyCondition($mixedPrivacyIds, 'm');

        return $this->getAll("SELECT `m`.`id`, `m`.`part`, `m`.`title`, `m`.`uri`, `m`.`lat`, `m`.`lng` FROM `" . $this->_sPrefix . "locations` AS `m` WHERE `m`.`failed` = 0 $sWhere LIMIT 100");
    }

 

The world map was not intended to be used as you are attempting to.  The Boonex developers probably never figured on everyone in the neighborhood being a member of your Dolphin site.

I don't think you're going to be able to use the world map the way you want to use it.  First of all, the free API only gives you 2500 calls per day.  I'm not sure if displaying each one of those geo coded points takes a separate api call or not.  For your application, you'll most likely need the business api.  Also, I don't know if the world-map module caches those geo coded points or if there are new api calls on every page load. 

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 28 Mar 2014

Awesome...I don't think a call is about a position already discovered and the geocodes already found...I could be totally wrong.  Thanks for the help...

Awesome.PNG · 587.1K · 213 views
Csampson
Quote · 28 Mar 2014

I've never really given much attention to the inner workings of the world map module.  If all those markers are discovered client side, you'll never have a problem.

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 28 Mar 2014
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.