Welcome guest, please Login or Register

EEC.MS - ExpressionEngine add-ons

You are here: HomeForum Home → Free add-ons → Modules → Thread

   

Using geolocation with MX Google Maps

Avatar
RankRankRankRank

Total Posts: 701

Joined 2010-07-13

PM

So, misunderstanding in communication smile I disable geolocation function to test StoreLocator distance change. Now is Enabled and you can tested it.

p.s. but our conversation is give me a lot information for v.2. It will be very nice add-on (http://cl.ly/31462J0i1S1p3I3d0N0Y)

     
RankRank

Total Posts: 31

Joined 2010-09-29

PM

OK, great. Is there a new version to download that will allow me to do that?

     
Avatar
RankRankRankRank

Total Posts: 701

Joined 2010-07-13

PM

well, if you speak about geolocaton in example - it was build with v1

     
RankRank

Total Posts: 31

Joined 2010-09-29

PM

There’s no examples in the docs of how to do it. I’m looking at the source for the demo-ee example and wondering how much of the javascript is just hard-coded into the template and how much of it is created dynamically by EE?

     
Avatar
RankRankRankRank

Total Posts: 701

Joined 2010-07-13

PM

in current example, the most part of geolocator code is custom. I just add comments, hope it’s can help. It’s ready to use - you just need delete what you don’t need (logger component) and this all.

     
RankRank

Total Posts: 31

Joined 2010-09-29

PM

OK, great, thanks. One last thing relating to an earlier question: http://www.eec.ms/forums/viewreply/1430/

     
Avatar
RankRankRankRank

Total Posts: 701

Joined 2010-07-13

PM

public access to Demo-ee CP is not open yet, so template in zip

     

File Attachments

Avatar
RankRankRankRank

Total Posts: 701

Joined 2010-07-13

PM

regarding mUpdate:
try next code

$(".btn").fancybox({
 fitToView 
false,
 
width 800,
 
height 400,
 
autoSize false,
 
closeClick false,
 
wrapCSS : $(this.element).attr('id'),
 
afterShow : function() 
  
$.mxgoogleMaps.mUpdate();
 
}
}
); 

p.s. I just add it to my examples list for new version smile This question is in top3

     
RankRank

Total Posts: 31

Joined 2010-09-29

PM

Awesome, thanks. Will test that out properly tomorrow.

     
RankRank

Total Posts: 31

Joined 2010-09-29

PM

That’s closer but I have a problem with the map being zoomed too far out. I also have a problem on individual store pages with the map being zoomed too far in. I’ll PM you a link so you can see what I mean.