Page 1 of 3

center map on marker

Posted: Tue Jul 09, 2013 4:58 pm
by Dimitris Monastiriotis

hi Iam trying to get a map to center on a marker but always seems to load with the marker on the top left corner. i used to show bounds but the code is commented now.

any ideas?
in case you want to have a look the project is shared with support and this happens on the pageshow event of the Shop page


center map on marker

Posted: Tue Jul 09, 2013 5:39 pm
by Maryna Brodina

Hello! Please check this post https://getsatisfaction.com/apperyio/.... Most likely you would need to add initialize map JS code to make it center.


center map on marker

Posted: Wed Jul 10, 2013 8:08 am
by Dimitris Monastiriotis

hi,
i tried it but still the marker (that is the default marker that gets created with the map) still shows at the top left corner of the map.


center map on marker

Posted: Wed Jul 10, 2013 8:13 am
by Dimitris Monastiriotis

ooops an update, just noticed that the shop.css file is blue in the sources does this mean that now any changes from the ui are not passed on???


center map on marker

Posted: Wed Jul 10, 2013 8:25 am
by Dimitris Monastiriotis

no, checked and it does not affect it


center map on marker

Posted: Wed Jul 10, 2013 9:36 am
by Dimitris Monastiriotis

I have tried various things but until now nothing has worked, the marker keeps being displayed at the top left part of the map just outside the visible perimeter, could you please have a look and see if you can spot anything? this happens on the pageshow event of the Shop page


center map on marker

Posted: Wed Jul 10, 2013 9:38 am
by Kateryna Grynko

Sure. Is the app shared with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a? What's the app name?


center map on marker

Posted: Wed Jul 10, 2013 9:47 am
by Dimitris Monastiriotis

yes it is shared and is called rg-app

thanx


center map on marker

Posted: Wed Jul 10, 2013 11:21 am
by Kateryna Grynko

I see centered marker. Did you fix this?
Please attach a screen shot of the issue.


center map on marker

Posted: Wed Jul 10, 2013 2:35 pm
by Dimitris Monastiriotis

hi the issue os with the Shop page, not the main menu page. You get there by selecting New from the Main Screen and then select any record that appears.

View 1 shows what comes up
Image

View2 is the marker showing after I moved the map
Image