Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Dec 2010

    Unhappy Nokia WRT google map marker did not render on map


    I am using google map javascript API to display map and in my map i am displaying marker.

    I am able to get marker image on simulator perfectly while on actual device nokia 5233 i am not geting marker image.

    google map default image as well as custom image1 is not rendering but custom image2 is rendering perfect.

    I am confuse same code is working for second image but it is not working for first image and google default image also.

    below is my code. Please help me.
    HTML code : 
    <div id="map_canvas"></div>
    JavaScript :
    // initialize map
    var LocationmyOptions = {
    	zoom: 6,
    	center: Locationlatlng1,
    	mapTypeId: google.maps.MapTypeId.ROADMAP
    var LocationmapMain = new google.maps.Map(document.getElementById("map_canvas"), LocationmyOptions);
    // set marker image in var
    var iconImg='Icon.png';
    // marker code
    var Locationlatlng2 = new google.maps.LatLng(lat,long);
    var LocationmarkerOption2 = {map: LocationmapMain,position: Locationlatlng2,icon:iconImg};
    var Locationmarker2 = new google.maps.Marker(LocationmarkerOption2);

  2. #2
    Nokia Developer Expert
    Join Date
    Jun 2008

    Re: Nokia WRT google map marker did not render on map


    I tried with the N97 with browser 7.1 and both of the images work.
    Could you check the browser version. start browser -> options ->Help -> about application. If there is no such selection you are still running on a old browser 7.0.
    What you could do is to update the phone firmware as there might be a newer browser available.

    You might want to set the transparent color for the PNG images.


  3. #3
    Registered User
    Join Date
    Dec 2010

    Re: Nokia WRT google map marker did not render on map

    Thanks for your reply,

    actually images are transparent background but as of now i upload images on temporary site so it display black background.

    in my widget i display google map, in map second image working fine, but why google map default marker or my first custom image not displayed?

    one of the image get displayed on map that means browser is 7.1, i think so.

    Any other solution for this problem?

  4. #4
    Regular Contributor
    Join Date
    Jul 2010

    Re: Nokia WRT google map marker did not render on map

    I am doing the project in the Nokia Web Tools for Nokia C5.
    I am using Google maps in the application.
    I have also checked the browser of the Nokia C5 mobile is BrowserNG/
    Still the Marker is not display in the particular location but it is display in the Emulator.
    Please help me.

Similar Threads

  1. Display a marker on a fixed map
    By zzizz in forum Symbian
    Replies: 6
    Last Post: 2010-07-06, 17:03
  2. [Help!] Can not launch google map
    By lorenchen in forum Symbian
    Replies: 10
    Last Post: 2010-02-24, 04:41
  3. Google static map path and marker
    By HasithaRandika in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2009-06-30, 09:16
  4. Replies: 2
    Last Post: 2009-02-13, 03:19

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts