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 9304145
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T23:38:43+00:00 2026-06-18T23:38:43+00:00

Is there any way to integrate Google Maps with leaflet-cloudmade? I mean, I don’t

  • 0

Is there any way to integrate Google Maps with leaflet-cloudmade?
I mean, I don’t want to use the original cloudmade map, but I want to use Google Maps instead. I want to show a map of Alaska (not many roads there). If I use a cloudmade map, it would be just white.

This is what I do if I want to use cloudmade map:

var cloudmade = new L.TileLayer('http://{s}.tile.cloudmade.com/YOUR-API-KEY/997/256/{z}/{x}/{y}.png', {
    attribution: 'Map data &copy; <a href="http://openstreetmap.org">OpenStreetMap</a> contributors, <a href="http://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>, Imagery © <a href="http://cloudmade.com">CloudMade</a>',
    maxZoom: 18
});

I know I should change the ‘http://{s}.tile.cloudmade.com/YOUR-API-KEY/997/256/{z}/{x}/{y}.png’ part. But, what should I write there if I want to use google map (or any other map)?

This is the documentation of leaflet-cloudmade (they don’t say that much about using third-party map provider. They say they are agnostic about map-provider used in our application, so I think it should be possible to use Google Maps).

  • 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-06-18T23:38:44+00:00Added an answer on June 18, 2026 at 11:38 pm

    The official leaflet.js plugins page references the Plugins by Pavel Shramov package.
    The provided Google.js gives you access to Google Maps tiles by using Google Maps API v3, with respect to the terms of use.

    Here is a quick example: you can use it by first adding

    <script src="http://maps.google.com/maps/api/js?v=3.2&sensor=false"></script>
    <script src="path/to/Google.js"></script>
    

    and then build your map:

    var map = new L.Map('map', {center: new L.LatLng(43.6481, -79.4042), zoom: 13});
    var gmap_layer = new L.Google('ROADMAP');
    map.addLayer(gmap_layer);
    

    Note: there are also some forks mentioned in this gist.

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

Sidebar

Related Questions

Is there any way to use Google's API to retrieve a user's current zipcode
Is there any way to integrate Google Checkout in iphone. Please help. Thanks
Is there any way to integrate google+ with my iPhone app. So that from
Is there any way to integrate google+ with my app. So that from my
Is there any way to integrate IDLE into a Tkinter program as a widget?
Is there any way to integrate JavaFx 2.0 GUI within the Netbeans Platform Application?
Is there any particular way to integrate Captch code validation in iPhone application? is
Is there a way to return LatLng, Google Maps' format for points, from a
Is there any way to integrate an flash mp3 player into a html site
Is there any way to integrate version control system for Apex & Visualforce code?

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.