[AngularJS] Re: Dynamically add multiple markers to Angular Google Map + pagination

2016-12-29 Thread Christy
Hi Sander, Sorry for taking so long to respond. I didn't assign an array in my google map yet. Can you please help with this step? Will I be assigning the array to $scope.map? Thanks. On Monday, December 19, 2016 at 10:49:39 PM UTC-5, Sander Elias wrote: > > Hi Christy, > >

[AngularJS] Dynamically add multiple markers to Angular Google Map + pagination

2016-12-18 Thread Christy
I am creating an angular/node/express app. One page must display a list of locations (from JSON file) and also plot each location on a google map. This list of locations is being populated when a user clicks a button that calls getLocations(). The catch is that my list of locations is using p

[AngularJS] Re: Add or update current URL parameter using angular's $location

2016-12-13 Thread Christy
Hi Sander, I implemented your suggestion and it is working great now. Thank you very much for your help. It is much appreciated! :) - Christy On Monday, December 12, 2016 at 9:29:42 AM UTC-5, Sander Elias wrote: > > Hi Christy, > > Read all parameters, update what you want, and wr

[AngularJS] Re: Add or update current URL parameter using angular's $location

2016-12-12 Thread Christy
p;pThree=1&pFour=1&pFive=1&pSix=1* until I try to update the parameter pThree to 0. The URL structure then changes to *?pThree=0*. I need all params to stay the same or simply update if I call $location.search(). Have you seen this before? Thanks again. - Christy On Monday, December

[AngularJS] Re: Add or update current URL parameter using angular's $location

2016-12-11 Thread Christy
function or do you suggest I write it myself? It seems like this would be a common issue. What are your thoughts? Thanks again! - Christy On Saturday, December 10, 2016 at 6:46:23 AM UTC-5, Sander Elias wrote: > > Hi Christy, > > This is not easy done within angular itself. If you thin

[AngularJS] Add or update current URL parameter using angular's $location

2016-12-09 Thread Christy
I have a page with multiple parameters in my URL. I am trying to write a function to use on the click of an element. I want it to check if parameter pthree exists. If it does, update it to a new value (not duplicate it). If it does not exist, append it to my current URL and reload the page. I

[AngularJS] Add or update current URL parameter using angular's $location

2016-12-09 Thread Christy
I have a page with multiple parameters in my URL. I am trying to write a function to use on the click of an element. I want it to check if parameter pthree exists. If it does, update it to a new value (not duplicate it). If it does not exist, append it to my current URL and reload the page. I