where I can find the little red dot image used in

2019-01-21 07:04发布

问题:

I am looking for the red dots showing here I can find find plenty of push pins and shadows in various place. But cannot find this little dot.... Could someone help me?

回答1:

Are you just trying to copy out the style of the markers?

If you are using Chrome just press F12 for developer tools, go to resources, then choose Frames->Maps->Images.

All of the images are shown there along with their locations.

https://maps.gstatic.com/mapfiles/markers2/red_markers_A_J2.png

I believe those are what you are talking about?

If you are talking about the really tiny little red dots, they appear to be part of the map images themselves.

However, there is a little blue dot that looks to be exactly the same, https://maps.gstatic.com/intl/en_us/mapfiles/markers2/measle_blue.png



回答2:

you dont need any image at all.

var circle = {
    path: google.maps.SymbolPath.CIRCLE,
    fillColor: 'red',
    fillOpacity: .4,
    scale: 4.5,
    strokeColor: 'white',
    strokeWeight: 1
};

// stack exchange headquarters
var location = {lat: 40.7087507876002, lng: -74.00675015738136};

var map = new google.maps.Map(document.getElementById('map'), {
    center: location,
    zoom: 13,
});

var marker = new google.maps.Marker({
    position: location,
    map: map,
    icon: circle, // set the icon here
});


回答3:

You can find a few here:

Red circle -https://storage.googleapis.com/support-kms-prod/SNP_2752125_en_v0

Blue circle - https://storage.googleapis.com/support-kms-prod/SNP_2752068_en_v0

Pink circle - https://storage.googleapis.com/support-kms-prod/SNP_2752264_en_v0

Yellow circle - https://storage.googleapis.com/support-kms-prod/SNP_2752063_en_v0

Green circle - https://storage.googleapis.com/support-kms-prod/SNP_2752129_en_v0



回答4:

The dots come from this image : https://maps.gstatic.com/mapfiles/mv/imgs8.png (but they are easier to take from https://maps.gstatic.com/mapfiles/mv/imgs2.png )

As far as copyright goes you should read the terms of services (http://maps.google.com/help/terms_maps.html) if you plan on using them.



回答5:

Afaik there is no static link to the little FusionTables red dot...

Also see https://groups.google.com/group/fusion-tables-users-group/browse_thread/thread/670a2af718afc97b?pli=1

Here are two links to lists of other static links https://sites.google.com/site/gmapicons/home/ and https://sites.google.com/site/gmapsdevelopment/

Alternative is to use this one http://maps.gstatic.com/mapfiles/ridefinder-images/mm_20_red.png

That's what I am doing on my (test) map from Fusion Tables with Markerclusterer