Hi Luke, Thanks for your reply.
It 's not a web based app. It's a mobile application built on palm webos. I don't have a link to provide. I tried the same in localhost by integrating maps in a sample HTML file. It's worked properly. It's not working properly in the palm webos application. Finally 1 more update on this. After sometime, when the map is dragged the image appears. I can't say what is the exact time after which it appears. I am seeing this peculiar behaviour after the recent google maps v3 api updates (on 28-11). The downloading of the image seems to be problem with new google.maps.MarkerImage with latest version changes >From the API reference: The display size of the image. This property may not be defined until the image has loaded. Please correct me if i am wrong? Thanks, Jeevan On Tue, Nov 30, 2010 at 3:29 AM, Luke Mahé <lu...@google.com> wrote: > Hi Jeevan, > Do you have a link to your site that we can look at? > Thanks > Luke > > > On Tue, Nov 30, 2010 at 1:00 AM, jeevan <jeeva.re...@gmail.com> wrote: >> >> Hi, >> >> Google Marker image is not loading from yesterday (28-11-2010). >> >> I am using the marker in the below way? >> >> var markerIcon = new google.maps.MarkerImage("test.png", new >> google.maps.Size(40, 45)); >> >> or >> >> var markerIcon = new google.maps.MarkerImage("test.png"); >> >> var newLocation = new google.maps.LatLng(lat, lng); >> >> var marker = new google.maps.Marker({ >> icon: markerIcon, >> map: map, >> position: newLocation, >> }); >> >> >> >> Previously the above code is working properly (the image is loading). >> Due to new changes as a result the image was not loading ? >> >> What changes required in order to make the above code to load the >> image. >> >> Any help is appreciated? >> >> Thanks in advance !! >> Jeevan. >> >> >> >> >> >> I am getting this >> >> http://groups.google.com/group/google-maps-js-api-v3/browse_thread/thread/c28a3ac05186b13 >> >> On Nov 29, 4:57 pm, sgiddings <mr.s.giddi...@gmail.com> wrote: >> > Hi Susannah, >> > >> > Totally agree with you - however this is not how many sites have been >> > created, since the possibility of assigning a string instead of the >> > MarkerImage object has been there for a while now. >> > Hence my proposition for the pixelBounds object. >> > >> > On Nov 29, 12:25 pm, "Susannah (Google Employee)" >> > >> > <susann...@google.com> wrote: >> > > Hi Simon, >> > >> > > If you create a MarkerImage object instead of using the string, you >> > > should be able to access the size now. >> > >> > > var markerImage = new google.maps.MarkerImage("http://code.google.com/ >> > > apis/maps/documentation/javascript/examples/images/beachflag.png"); >> > > var marker = new google.maps.Marker({map: map, position: >> > > map.getCenter(), icon: markerImage}); >> > > google.maps.event.addListener(marker, 'click', function() { >> > > alert(marker.getIcon().size); >> > >> > > }); >> > >> > > Will that work for you? >> > >> > > Thanks, >> > > Susannah >> > >> > > On Nov 29, 8:09 pm, sgiddings <mr.s.giddi...@gmail.com> wrote: >> > >> > > > Hi Luke, >> > >> > > > Further comment on accessing the size property of the MarkerImage >> > > > object. >> > > > This is of use, obviously, only when a MarkerImage object has been >> > > > created. If a simple string, indicating the image to use, has been >> > > > provided to the marker, then there is no way to "officially" obtain >> > > > the size. >> > > > This is where my enhancement request comes in for officialising the >> > > > pixelBounds object - >> > > > -http://code.google.com/p/gmaps-api-issues/issues/detail?id=2860 >> > >> > > > This request will provide the much needed dimensions at all times. >> > > > Can this be boosted up the "to-do" list ? >> > >> > > > Simon >> > >> > > > On Nov 29, 9:59 am, sgiddings <mr.s.giddi...@gmail.com> wrote: >> > >> > > > > Hi Luke, >> > >> > > > > You state that the issue 2465 relates to accessing the size >> > > > > property >> > > > > of a MarkerImage object, I think you referenced the wrong issue >> > > > > (at >> > > > > least when clicking on the link, it does not display this). >> > >> > > > > Simon >> > >> > > > > On Nov 29, 8:11 am, Gary Little <g...@luxcentral.com> wrote: >> > >> > > > > > I noticed a couple of days ago that markers on maps now print >> > > > > > w/o >> > > > > > enabling printing of background. Great news! I'd love to know >> > > > > > how this >> > > > > > was accomplished -- some advanced CSS work I imagine. >> > >> > > > > > Gary >> > >> > > > > > On Nov 28, 9:29 pm, "Luke (Google Employee)" <lu...@google.com> >> > > > > > wrote: >> > >> > > > > > > Hey everyone! >> > >> > > > > > > We've recently pushed out a new version of the API. See the >> > > > > > > list of >> > > > > > > changes >> > > > > > > below:http://code.google.com/p/gmaps-api-issues/wiki/JavascriptMapsAPIv3Cha... >> > >> > > > > > > 3.3 November 28th, 2010 >> > >> > > > > > > Resolved issues: >> > > > > > > maptypeid_changed no longer fires twice (Issue 2449) >> > > > > > > The "size" property of a MarkerImage object is now >> > > > > > > accessible >> > > > > > > (Issue 2465) >> > > > > > > Marker shape references the icon rather than the sprite >> > > > > > > (Issue >> > > > > > > 2629) >> > > > > > > Panning the map on marker drag has been improved for >> > > > > > > smaller maps >> > > > > > > (Issue 2868) >> > >> > > > > > > Noticeable changes: >> > > > > > > Maps can now be printed without enabling printing of >> > > > > > > background >> > > > > > > images >> > > > > > > Fixed bug where draggable direction markers were draggable >> > > > > > > when >> > > > > > > 'draggable' was set to false >> > >> > > > > > > Please test and provide feedback. >> > >> > > > > > > Thanks >> > >> > > > > > > - Luke >> > >> > >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Google Maps JavaScript API v3" group. >> To post to this group, send email to >> google-maps-js-api...@googlegroups.com. >> To unsubscribe from this group, send email to >> google-maps-js-api-v3+unsubscr...@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/google-maps-js-api-v3?hl=en. >> > > -- > You received this message because you are subscribed to the Google Groups > "Google Maps JavaScript API v3" group. > To post to this group, send email to google-maps-js-api...@googlegroups.com. > To unsubscribe from this group, send email to > google-maps-js-api-v3+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/google-maps-js-api-v3?hl=en. > -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to google-maps-js-api...@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.