Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7534881
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T06:08:45+00:00 2026-05-30T06:08:45+00:00

I have implemented google map in my project . I’ve set all the required

  • 0

I have implemented google map in my project . I’ve set all the required things . I was wondering the control icons not appearing like pan,zoom etc. But still I can zoom ,pan with clicking on a blurred shape instead of the picture buttons . Anybody can address the issue ? .Sorry for my bad english

<script src="//maps.google.com/maps?file=api&amp;v=2&amp;key=key"
            type="text/javascript"></script>
    <script type="text/javascript">

    function initialize() {
      if (GBrowserIsCompatible()) {
        var map = new GMap2(document.getElementById("map_canvas"));
        var latlng = new GLatLng(<?php echo $lattitude?>, <?php echo $longitude?>);
        map.setCenter(latlng, 13);


        var iconRed = new GIcon(); 
        iconRed.image = 'http://labs.google.com/ridefinder/images/mm_20_red.png';
        iconRed.shadow = 'http://labs.google.com/ridefinder/images/mm_20_shadow.png';
        iconRed.iconSize = new GSize(12, 20);
        iconRed.shadowSize = new GSize(22, 20);
        iconRed.iconAnchor = new GPoint(6, 20);
        iconRed.infoWindowAnchor = new GPoint(5, 1);





          map.addControl(new GSmallMapControl());
          map.addControl(new GMapTypeControl());
          map.addOverlay(new GMarker(latlng));

          var name = "name";
          var address = "address";
          var type = "bar";
          var point = latlng;
          var marker = createMarker(point, name, address, iconRed);
          map.addOverlay(marker);

      }
    }
    function createMarker(point, name, address, iconRed) {
      var marker = new GMarker(point, iconRed);
      var html = "<b>" + name + "</b> <br/>" + address;
      GEvent.addListener(marker, 'click', function() {
        marker.openInfoWindowHtml(html);
      });
      return marker;
    }
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T06:08:47+00:00Added an answer on May 30, 2026 at 6:08 am

    You should not be using V2 of the Google Maps API for your app. That version of the API has been deprecated.

    Instead you shoule be using V3:

    http://goo.gl/YVKfp

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have implemented Google Map view in my app with a number of custom
I have implemented Simple Google Map Direction Api Javascript in my webpage. When my
I have implemented a Java activity that displays a Google map view, and would
I have implemented the Google map successfully. But one more thing has left to
I have implemented VirtualPathProvider class so I can keep all my views in the
I have successfully implemented code to plot multiple locations on google maps dynamically. Solution:
I am using google map in my application. I have an application regarding to
I have implemented a javascript menu allowing users to change to different map views
I have about 5000 markers I need to render on Google Map. I'm currently
I have searched all over google for a solution however this seems a new

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.