Skip to content

Commit

Permalink
fix: changed zoom from 18 to 16
Browse files Browse the repository at this point in the history
  • Loading branch information
coderdiaz committed Oct 9, 2022
1 parent 73b7049 commit d2e29e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/EmbedMap.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default function EmbedMap({
<StyledEmbedMap
dangerouslySetInnerHTML={{
__html: `<div class="mapouter">
<div class="gmap_canvas"><iframe style="width: 100%;height: 240px" id="gmap_canvas" src="https://www.google.com/maps/embed/v1/place?key=${process.env.NEXT_PUBLIC_MAPS_API_KEY}&q=${lat},${lng}&zoom=18" frameborder="0" scrolling="no" marginheight="0" marginwidth="0"></iframe><a href="https://coderdiaz.dev"></a><br><style>.mapouter{position:relative;text-align:right;height: 240px;width:100%;}</style><style>.gmap_canvas {overflow:hidden;background:none!important;height: 240px;width:100%;}.place-card{display: none;}</style></div></div>`
<div class="gmap_canvas"><iframe style="width: 100%;height: 240px" id="gmap_canvas" src="https://www.google.com/maps/embed/v1/place?key=${process.env.NEXT_PUBLIC_MAPS_API_KEY}&q=${lat},${lng}&zoom=16" frameborder="0" scrolling="no" marginheight="0" marginwidth="0"></iframe><a href="https://coderdiaz.dev"></a><br><style>.mapouter{position:relative;text-align:right;height: 240px;width:100%;}</style><style>.gmap_canvas {overflow:hidden;background:none!important;height: 240px;width:100%;}.place-card{display: none;}</style></div></div>`
}} />
</StyledMapWrapper>
);
Expand Down

0 comments on commit d2e29e7

Please sign in to comment.