Closed xshadowlegendx closed 7 years ago
May it be because the container isn't defined?
AFAIK the container where the map is going to be rendered should be defined.
This is mine:
.map-container {
width: 800px;
max-width: 100%;
height: 500px;
}
Ok i will look into it again and will get back to you after that
Bro, i already try to add fixed size to width and height and it still not working
Hey @xshadowlegendx take a look at the updated example app https://github.com/dburles/meteor-google-maps-react-example
`// Map.jsx import React from 'react'; import TrackerReact from 'meteor/ultimatejs:tracker-react';
import { GoogleApi } from './GoogleApi.jsx';
class Map extends TrackerReact( React.Component ) {
}
export { Map };
// GoogleApi.jsx
import React from 'react'; import TrackerReact from 'meteor/ultimatejs:tracker-react';
import { Random } from 'meteor/random';
class GoogleApi extends TrackerReact( React.Component ) {
}
export { GoogleApi }; ` There are not console error, the element div that map is created in has changes and also i can try to drag the grey background and the element inside the inner div changes, here is the screenshot link https://ibb.co/hqcH85. I already searched the issues and i did not found anything that solve this so please help and thanks very much.