'How to use Google Font icons in React?
How can I correctly use external Google Fonts icons here instead of this:
const svgDeliveryMarker = {
url: "https://upload.wikimedia.org/wikipedia/commons/f/fb/Map_pin_icon_green.svg",
scaledSize: new window.google.maps.Size(15, 15),
};
return (
<>
<GoogleMap>
<Marker position={locationPostion} icon={svgDeliveryMarker} />
</GoogleMap>
</>
);
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
