Skip to content

add_marker by address too slow when there are 100+ markers #68

Description

@atiyehk

Example below takes more than 10 mins to load. Didn't really debug the add_marker function, but I am assuming its trying to resolve the address to lat/long, etc.. which might be causing it to take too much time?

foreach($query as $sale)
{
$marker = array();
$marker['infowindow_content'] = ($sale['client_name'] . ' - ' . $sale['quote_unit_number'] . ' - ' . $sale['item_name'] . ' - ' . $sale['quote_number']);
$marker['position'] = $sale['client_address_1'] . ' ' . $sale['client_city'] . ' ' . $sale['client_state'] . ', ' . $sale['client_zip'];
$this->googlemaps->add_marker($marker);
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions