First time here? Check out the FAQ!
I am trying to use gmarker with gmap:
<gmaps height="100%" zoom="13" lat="26.912274" lng="75.787468" children="@load(vm.list)" mapType="normal">
<template name="children" var="each">
<gmarker open="true" lat="@load(each.latitude)"
lng="@load(each.longitude)" content="@load(each.Info)"/>
</template>
</gmaps>
If there are no gmarker(list is empty),the gmap center is at right position (at the mentioned lat & lon) ,as soon as there comes some amount of gmarker(say 20 to 30),the gmap center tends to move to some other coordinate.
Run this code with some gmarkers, see for yourself. I have tried to keep the center at right position,didn't got any success so far. Any help?? Thanks in advance. :)
Asked: 2014-01-08 12:17:11 +0800
Seen: 19 times
Last updated: Jan 08 '14