$ git push origin master
fatal: unable to access 'https://urlgit/repo.git/': Failed to connect to gitlab.com port 443: Conexión rehusada
FutureBuilder( | |
future: getImageBase64(), | |
initialData: ObjectClass, // puede ser String | |
builder: (BuildContext context, AsyncSnapshot<GeneraQRModel> snapshot) { | |
if (snapshot.hasData) { | |
final data = snapshot.data!; | |
if (snapshot.connectionState == ConnectionState.done) { | |
String uri = 'data:image/png;base64,${data!['imageBase64']}'; |
You don't need a plugin or the Google API, you can add it as a XYZ tile layer.
Streets
googleStreets = L.tileLayer('http://{s}.google.com/vt/lyrs=m&x={x}&y={y}&z={z}',{ maxZoom: 20, subdomains:['mt0','mt1','mt2','mt3'] });
var map = (OpenLayers.Map ); // your map reference
var layerswitcher = (OpenLayers.Control.LayerSwitcher) // layer swicher control reference
OpenLayers.Lang[OpenLayers.Lang.getCode()]['Base Layer'] = "My base label";
OpenLayers.Lang[OpenLayers.Lang.getCode()]['Overlays'] = "My over label";
// remove current instance of layers switcher from map if attached.
map.removeControl( layerswitcher );
map.addControl( new OpenLayers.Control.LayerSwitcher( { /* options here */ } ) );
Para PostGIS Ver http://postgis.net/docs/manual-dev/postgis-es.html
otros postgis: http://workshops.boundlessgeo.com/postgis-intro/tuning.html
Para PG: http://www.anchor.com.au/hosting/dedicated/Tuning_PostgreSQL_on_your_Dedicated_Server
Estas opciones se configuran en postgresql.conf:
Make sure you have done sudo apt-get update
and sudo apt-get upgrade
on your fresh install. This guide is geared toward Ubuntu 14.04 LTS (Trusty Tahr). Most of the guide will work for earlier versions of Ubuntu with some slight changes, but 14.04 is advised.
sudo cp /home/ubuntu/.ssh/authorized_keys /root/.ssh/